aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pdumper.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pdumper.c b/src/pdumper.c
index 74f198c4ae3..e944cdb1c6c 100644
--- a/src/pdumper.c
+++ b/src/pdumper.c
@@ -4004,6 +4004,9 @@ types. */)
4004{ 4004{
4005 eassert (initialized); 4005 eassert (initialized);
4006 4006
4007 if (! noninteractive)
4008 error ("Dumping Emacs works only in batch mode");
4009
4007 if (will_dump_with_unexec_p ()) 4010 if (will_dump_with_unexec_p ())
4008 error ("This Emacs instance was started under the assumption " 4011 error ("This Emacs instance was started under the assumption "
4009 "that it would be dumped with unexec, not the portable " 4012 "that it would be dumped with unexec, not the portable "