# HG changeset patch # User Chong Yidong # Date 1233089867 0 # Node ID c2c9245e7699b128de1f9e878ca4eeb114a56f2e # Parent cfbf548023b786c7c4a5dbb30d35bfe350a76435 (undo_limit, undo_strong_limit, Vundo_outer_limit): Quadruple undo limits (bug#1501). diff -r cfbf548023b7 -r c2c9245e7699 src/undo.c --- a/src/undo.c Tue Jan 27 20:57:07 2009 +0000 +++ b/src/undo.c Tue Jan 27 20:57:47 2009 +0000 @@ -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'.