# HG changeset patch # User Richard M. Stallman # Date 1103760996 0 # Node ID 51027cf26edcf40e1d0dcf62ba90d1d2de10e92f # Parent 0927fb5e392083f8959c15a1ca0b3ef262106241 (main): If batch mode, set Vundo_outer_limit to nil. diff -r 0927fb5e3920 -r 51027cf26edc src/emacs.c --- 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. */