help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to dump Emacs and use as application snapshot?


From: Eli Zaretskii
Subject: Re: How to dump Emacs and use as application snapshot?
Date: Tue, 27 Oct 2020 20:05:38 +0200

> Date: Tue, 27 Oct 2020 20:41:26 +0300
> From: Jean Louis <bugs@gnu.support>
> 
> This works:
> 
> emacs --batch -eval "(dump-emacs-portable \"~/my-emacs\")"
> dumping fingerprint: 
> f5190a787b51041c110477031336a3a463d20c2fa433c129c2cc69f4fb191d71
> Dump complete
> Byte counts: header=84 hot=7180724 discardable=125760 cold=3356344
> Reloc counts: hot=402727 discardable=4826
> 
> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]