Commit 87a98b1a authored by Richard M. Stallman's avatar Richard M. Stallman

(Fdump_emacs): Error if not run in batch mode.

parent a53c647b
......@@ -1488,13 +1488,18 @@ This is used in the file `loadup.el' when building Emacs.\n\
\n\
Bind `command-line-processed' to nil before dumping,\n\
if you want the dumped Emacs to process its command line\n\
and announce itself normally when it is run.")
and announce itself normally when it is run.\n\
\n\
You must run Emacs in batch mode in order to dump it.")
(filename, symfile)
Lisp_Object filename, symfile;
{
extern char my_edata[];
Lisp_Object tem;
if (! noninteractive)
error ("Dumping Emacs works only in batch mode");
CHECK_STRING (filename, 0);
filename = Fexpand_file_name (filename, Qnil);
if (!NILP (symfile))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment