emacs-diffs
[Top][All Lists]
Advanced

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

master e7edba4: Don’t allow portable dumping in interactive mode (Bug#3


From: Philipp Stephani
Subject: master e7edba4: Don’t allow portable dumping in interactive mode (Bug#38453).
Date: Mon, 23 Dec 2019 14:51:13 -0500 (EST)

branch: master
commit e7edba42c8a525722cbd40f782b0df68e4976a62
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <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.
---
 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 "



reply via email to

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