projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca6a53d
)
Don’t allow portable dumping in interactive mode (Bug#38453).
author
Philipp Stephani
<phst@google.com>
Mon, 23 Dec 2019 19:49:15 +0000
(20:49 +0100)
committer
Eli Zaretskii
<eliz@gnu.org>
Tue, 24 Dec 2019 17:55:31 +0000
(19:55 +0200)
* src/pdumper.c (Fdump_emacs_portable): Don’t allow dumping in
interactive mode.
(cherry picked from commit
e7edba42c8a525722cbd40f782b0df68e4976a62
)
src/pdumper.c
patch
|
blob
|
history
diff --git
a/src/pdumper.c
b/src/pdumper.c
index 74f198c4ae3b2132811e4216fcb8ac455131f3ea..e944cdb1c6cab976f115f79f732d7932504d80d0 100644
(file)
--- a/
src/pdumper.c
+++ b/
src/pdumper.c
@@
-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 "