Mercurial > emacs
changeset 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 | 0927fb5e3920 |
children | 95abfb410833 |
files | src/emacs.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
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. */