Date: Tue, 27 Oct 2020 22:51:05 +0300
From: Jean Louis <bugs@gnu.support>
Cc: help-gnu-emacs@gnu.org
But this does not work:
emacs --batch -eval "(load-file \"~/.emacs.d/init.el\") (dump-emacs-portable
\"~/my-emacs\")"
and this does not work:
emacs --batch -eval "(setq my-var \"any\") (dump-emacs-portable \"~/my-emacs\")"
The argument to "-eval" should be a single sexp.
Then it implies I cannot load my configuration into Emacs to dump
it.
No, it implies that the syntax of the argument to -eval is incorrect.
--batch implies -q option
Yes, but what does this have to do with the issue at hand?