Previously, attempting to use Spacemacs with --batch would hang
forever. In that scenario, the function `command-line' attempts to
kill batch-mode Emacs after processing command line arguments, but
fails because Spacemacs advises kill-emacs.
Normally batch mode suppresses Spacemacs but it can be made to load
Spacemacs like so:
emacs --batch -u $(whoami) --eval '(pp (+ 1 2))'
This should print 3 and exit, but without this commit it never
exits.
Previously, attempting to use Spacemacs with --batch would hang forever. In that scenario, the function `command-line' attempts to kill batch-mode Emacs after processing command line arguments, but fails because Spacemacs advises kill-emacs.
Normally batch mode suppresses Spacemacs but it can be made to load Spacemacs like so:
This should print
3
and exit, but without this commit it never exits.