aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2004-12-23 00:17:01 +0000
committerRichard M. Stallman2004-12-23 00:17:01 +0000
commit55f4edbcd246d8ea1715687a7aeeb3afe35c0345 (patch)
tree6013a6f67d40881579508ab06830c61fe529e9be /src
parent8e43e4b2f912fe94566a6d78a087d679bee5627d (diff)
downloademacs-55f4edbcd246d8ea1715687a7aeeb3afe35c0345.tar.gz
emacs-55f4edbcd246d8ea1715687a7aeeb3afe35c0345.zip
(main): If batch mode, set Vundo_outer_limit to nil.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog11
-rw-r--r--src/emacs.c5
2 files changed, 15 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0a6612e962d..8d09c5bfd2f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,14 @@
12004-12-22 Richard M. Stallman <rms@gnu.org>
2
3 * emacs.c (main): If batch mode, set Vundo_outer_limit to nil.
4
5 * lisp.h (Vundo_outer_limit): Fix decl.
6
7 * undo.c (Vundo_outer_limit): Replaces undo_outer_limit.
8 Uses changed.
9 (syms_of_undo): Initialize appropriately.
10 (truncate_undo_list): If it's nil, there's no limit.
11
12004-12-22 Kenichi Handa <handa@m17n.org> 122004-12-22 Kenichi Handa <handa@m17n.org>
2 13
3 * xselect.c (Fx_get_cut_buffer_internal): Return a unibyte string. 14 * 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
1133 /* Handle the -batch switch, which means don't do interactive display. */ 1133 /* Handle the -batch switch, which means don't do interactive display. */
1134 noninteractive = 0; 1134 noninteractive = 0;
1135 if (argmatch (argv, argc, "-batch", "--batch", 5, NULL, &skip_args)) 1135 if (argmatch (argv, argc, "-batch", "--batch", 5, NULL, &skip_args))
1136 noninteractive = 1; 1136 {
1137 noninteractive = 1;
1138 Vundo_outer_limit = Qnil;
1139 }
1137 if (argmatch (argv, argc, "-script", "--script", 3, &junk, &skip_args)) 1140 if (argmatch (argv, argc, "-script", "--script", 3, &junk, &skip_args))
1138 { 1141 {
1139 noninteractive = 1; /* Set batch mode. */ 1142 noninteractive = 1; /* Set batch mode. */