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:
parent
b2571eccb5
commit
e7edba42c8
1 changed files with 3 additions and 0 deletions
|
@ -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 "
|
||||
|
|
Loading…
Add table
Reference in a new issue