emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/src undo.c


From: Chong Yidong
Subject: [Emacs-diffs] emacs/src undo.c
Date: Tue, 27 Jan 2009 20:57:47 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      09/01/27 20:57:47

Modified files:
        src            : undo.c 

Log message:
        (undo_limit, undo_strong_limit, Vundo_outer_limit): Quadruple undo
        limits (bug#1501).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/undo.c?cvsroot=emacs&r1=1.87&r2=1.88

Patches:
Index: undo.c
===================================================================
RCS file: /sources/emacs/emacs/src/undo.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -b -r1.87 -r1.88
--- undo.c      8 Jan 2009 03:16:01 -0000       1.87
+++ undo.c      27 Jan 2009 20:57:47 -0000      1.88
@@ -689,7 +689,7 @@
 
 The size is counted as the number of bytes occupied,
 which includes both saved text and other data.  */);
-  undo_limit = 20000;
+  undo_limit = 80000;
 
   DEFVAR_INT ("undo-strong-limit", &undo_strong_limit,
              doc: /* Don't keep more than this much size of undo information.
@@ -701,7 +701,7 @@
 
 The size is counted as the number of bytes occupied,
 which includes both saved text and other data.  */);
-  undo_strong_limit = 30000;
+  undo_strong_limit = 120000;
 
   DEFVAR_LISP ("undo-outer-limit", &Vundo_outer_limit,
              doc: /* Outer limit on size of undo information for one command.
@@ -718,7 +718,7 @@
 `undo-outer-limit-function' with one argument, the size.
 The text above describes the behavior of the function
 that variable usually specifies.  */);
-  Vundo_outer_limit = make_number (3000000);
+  Vundo_outer_limit = make_number (12000000);
 
   DEFVAR_LISP ("undo-outer-limit-function", &Vundo_outer_limit_function,
               doc: /* Function to call when an undo list exceeds 
`undo-outer-limit'.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]