# HG changeset patch # User Richard M. Stallman # Date 867026839 0 # Node ID d249b1ae0a02b662cb35a50200775362bb6665e5 # Parent f34e9defc58c8848dd8c657192457c21d227d831 (Fdump_emacs): Error if not run in batch mode. diff -r f34e9defc58c -r d249b1ae0a02 src/emacs.c --- a/src/emacs.c Mon Jun 23 00:30:48 1997 +0000 +++ b/src/emacs.c Mon Jun 23 00:47:19 1997 +0000 @@ -1488,13 +1488,18 @@ \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))