There command-line option
-e behaves similar to the
--eval option, but yet it is not the same. For example, of these two invocations, only the first one works:
emacs --eval '(global-linum-mode)' emacs -e '(global-linum-mode)'
And of these two invocations, only the second one works:
emacs --eval 'global-linum-mode' emacs -e 'global-linum-mode'
I had mistakenly assumed that
-e was the "short form" for
--eval based on this line from the manual:
There are two ways of writing options: the short forms that start with a single ‘-’, and the long forms that start with ‘--’. For example, ‘-d’ is a short form and ‘--display’ is the corresponding long form.
But as I noted, it has a behavior which differs from the long option. Is this mysterious
-e option documented anywhere?