Don’t allow portable dumping in interactive mode (Bug#38453).

* src/pdumper.c (Fdump_emacs_portable): Don’t allow dumping in
interactive mode.
This commit is contained in:
Philipp Stephani 2019-12-23 20:49:15 +01:00
parent b2571eccb5
commit e7edba42c8

View file

@ -4004,6 +4004,9 @@ types. */)
{
eassert (initialized);
if (! noninteractive)
error ("Dumping Emacs works only in batch mode");
if (will_dump_with_unexec_p ())
error ("This Emacs instance was started under the assumption "
"that it would be dumped with unexec, not the portable "