emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 9466372: Double undo limits


From: Stefan Kangas
Subject: [Emacs-diffs] master 9466372: Double undo limits
Date: Sat, 10 Aug 2019 14:25:33 -0400 (EDT)

branch: master
commit 94663726c0e95efc894c0227fb7a4e6623d67377
Author: Stefan Kangas <address@hidden>
Commit: Stefan Kangas <address@hidden>

    Double undo limits
    
    * src/undo.c (syms_of_undo) <undo_limit, undo_strong_limit>
    <Vundo_outer_limit>: Double undo limits.  (Bug#31104)
---
 src/undo.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/undo.c b/src/undo.c
index 3c1251d..78e51ea 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -442,7 +442,7 @@ value, the earlier commands that came before it are 
forgotten.
 
 The size is counted as the number of bytes occupied,
 which includes both saved text and other data.  */);
-  undo_limit = 80000;
+  undo_limit = 160000;
 
   DEFVAR_INT ("undo-strong-limit", undo_strong_limit,
              doc: /* Don't keep more than this much size of undo information.
@@ -454,7 +454,7 @@ is never discarded for this reason.
 
 The size is counted as the number of bytes occupied,
 which includes both saved text and other data.  */);
-  undo_strong_limit = 120000;
+  undo_strong_limit = 240000;
 
   DEFVAR_LISP ("undo-outer-limit", Vundo_outer_limit,
              doc: /* Outer limit on size of undo information for one command.
@@ -471,7 +471,7 @@ In fact, this calls the function which is the value of
 `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_fixnum (12000000);
+  Vundo_outer_limit = make_fixnum (24000000);
 
   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]