diff src/emacs.c @ 59071:51027cf26edc

(main): If batch mode, set Vundo_outer_limit to nil.
author Richard M. Stallman <rms@gnu.org>
date Thu, 23 Dec 2004 00:16:36 +0000
parents 59945307b86b
children 9bde7721ad0f 4ee39d9428b0 eac554634bfa
line wrap: on
line diff
--- a/src/emacs.c	Thu Dec 23 00:15:49 2004 +0000
+++ b/src/emacs.c	Thu Dec 23 00:16:36 2004 +0000
@@ -1133,7 +1133,10 @@
   /* Handle the -batch switch, which means don't do interactive display.  */
   noninteractive = 0;
   if (argmatch (argv, argc, "-batch", "--batch", 5, NULL, &skip_args))
-    noninteractive = 1;
+    {
+      noninteractive = 1;
+      Vundo_outer_limit = Qnil;
+    }
   if (argmatch (argv, argc, "-script", "--script", 3, &junk, &skip_args))
     {
       noninteractive = 1;	/* Set batch mode.  */