[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-27 719a692 1/2: Don’t allow portable dumping in interactive mode
From: |
Eli Zaretskii |
Subject: |
emacs-27 719a692 1/2: Don’t allow portable dumping in interactive mode (Bug#38453). |
Date: |
Tue, 24 Dec 2019 12:58:46 -0500 (EST) |
branch: emacs-27
commit 719a6924c433baf3c7beaddedd72fac0deaac74a
Author: Philipp Stephani <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Don’t allow portable dumping in interactive mode (Bug#38453).
* src/pdumper.c (Fdump_emacs_portable): Don’t allow dumping in
interactive mode.
(cherry picked from commit e7edba42c8a525722cbd40f782b0df68e4976a62)
---
src/pdumper.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/pdumper.c b/src/pdumper.c
index 74f198c..e944cdb 100644
--- 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 "