From: Richard M. Stallman Date: Thu, 23 Dec 2004 00:17:01 +0000 (+0000) Subject: (main): If batch mode, set Vundo_outer_limit to nil. X-Git-Tag: ttn-vms-21-2-B4~3172 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=55f4edbcd246d8ea1715687a7aeeb3afe35c0345;p=emacs.git (main): If batch mode, set Vundo_outer_limit to nil. --- diff --git a/src/ChangeLog b/src/ChangeLog index 0a6612e962d..8d09c5bfd2f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,14 @@ +2004-12-22 Richard M. Stallman + + * emacs.c (main): If batch mode, set Vundo_outer_limit to nil. + + * lisp.h (Vundo_outer_limit): Fix decl. + + * undo.c (Vundo_outer_limit): Replaces undo_outer_limit. + Uses changed. + (syms_of_undo): Initialize appropriately. + (truncate_undo_list): If it's nil, there's no limit. + 2004-12-22 Kenichi Handa * xselect.c (Fx_get_cut_buffer_internal): Return a unibyte string. diff --git a/src/emacs.c b/src/emacs.c index 791e13dd6d0..5c62ee071ff 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -1133,7 +1133,10 @@ main (argc, argv /* 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. */