[erlang-questions] emacs tool and the -smp erlang option

Tomas Abrahamsson tomas.abrahamsson@REDACTED
Tue Nov 30 19:27:10 CET 2010

> Ok but the following modification:
> (defvar inferior-erlang-machine-options '("-smp")
> has no impact for me !

Hi, try

    (setq inferior-erlang-machine-options '("-smp"))

instead! The defvar special form sets a variable only
if it is undefined, while setq sets the variable regardless.
Thus, defvar is useful if you want to define a default value
and you can override it using setq in e.g your .emacs.


More information about the erlang-questions mailing list