Commit 55f4edbc authored by Richard M. Stallman's avatar Richard M. Stallman

(main): If batch mode, set Vundo_outer_limit to nil.

parent 8e43e4b2
2004-12-22 Richard M. Stallman <rms@gnu.org>
* 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 <handa@m17n.org> 2004-12-22 Kenichi Handa <handa@m17n.org>
* xselect.c (Fx_get_cut_buffer_internal): Return a unibyte string. * xselect.c (Fx_get_cut_buffer_internal): Return a unibyte string.
......
...@@ -1133,7 +1133,10 @@ main (argc, argv ...@@ -1133,7 +1133,10 @@ main (argc, argv
/* Handle the -batch switch, which means don't do interactive display. */ /* Handle the -batch switch, which means don't do interactive display. */
noninteractive = 0; noninteractive = 0;
if (argmatch (argv, argc, "-batch", "--batch", 5, NULL, &skip_args)) 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)) if (argmatch (argv, argc, "-script", "--script", 3, &junk, &skip_args))
{ {
noninteractive = 1; /* Set batch mode. */ noninteractive = 1; /* Set batch mode. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment