diff options
| author | Chong Yidong | 2009-01-27 20:57:47 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-01-27 20:57:47 +0000 |
| commit | 2159bd065212117a6aff538a69d5ac1864dcd134 (patch) | |
| tree | e7e858e936d1542431359242f0e6fd6bb02b4369 /src/undo.c | |
| parent | fa57de3694c422f0eddd2769b12534bee1bcbc1a (diff) | |
| download | emacs-2159bd065212117a6aff538a69d5ac1864dcd134.tar.gz emacs-2159bd065212117a6aff538a69d5ac1864dcd134.zip | |
(undo_limit, undo_strong_limit, Vundo_outer_limit): Quadruple undo
limits (bug#1501).
Diffstat (limited to 'src/undo.c')
| -rw-r--r-- | src/undo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/undo.c b/src/undo.c index b9e615086f9..39ca983b76e 100644 --- a/src/undo.c +++ b/src/undo.c | |||
| @@ -689,7 +689,7 @@ value, the earlier commands that came before it are forgotten. | |||
| 689 | 689 | ||
| 690 | The size is counted as the number of bytes occupied, | 690 | The size is counted as the number of bytes occupied, |
| 691 | which includes both saved text and other data. */); | 691 | which includes both saved text and other data. */); |
| 692 | undo_limit = 20000; | 692 | undo_limit = 80000; |
| 693 | 693 | ||
| 694 | DEFVAR_INT ("undo-strong-limit", &undo_strong_limit, | 694 | DEFVAR_INT ("undo-strong-limit", &undo_strong_limit, |
| 695 | doc: /* Don't keep more than this much size of undo information. | 695 | doc: /* Don't keep more than this much size of undo information. |
| @@ -701,7 +701,7 @@ is never discarded for this reason. | |||
| 701 | 701 | ||
| 702 | The size is counted as the number of bytes occupied, | 702 | The size is counted as the number of bytes occupied, |
| 703 | which includes both saved text and other data. */); | 703 | which includes both saved text and other data. */); |
| 704 | undo_strong_limit = 30000; | 704 | undo_strong_limit = 120000; |
| 705 | 705 | ||
| 706 | DEFVAR_LISP ("undo-outer-limit", &Vundo_outer_limit, | 706 | DEFVAR_LISP ("undo-outer-limit", &Vundo_outer_limit, |
| 707 | doc: /* Outer limit on size of undo information for one command. | 707 | doc: /* Outer limit on size of undo information for one command. |
| @@ -718,7 +718,7 @@ In fact, this calls the function which is the value of | |||
| 718 | `undo-outer-limit-function' with one argument, the size. | 718 | `undo-outer-limit-function' with one argument, the size. |
| 719 | The text above describes the behavior of the function | 719 | The text above describes the behavior of the function |
| 720 | that variable usually specifies. */); | 720 | that variable usually specifies. */); |
| 721 | Vundo_outer_limit = make_number (3000000); | 721 | Vundo_outer_limit = make_number (12000000); |
| 722 | 722 | ||
| 723 | DEFVAR_LISP ("undo-outer-limit-function", &Vundo_outer_limit_function, | 723 | DEFVAR_LISP ("undo-outer-limit-function", &Vundo_outer_limit_function, |
| 724 | doc: /* Function to call when an undo list exceeds `undo-outer-limit'. | 724 | doc: /* Function to call when an undo list exceeds `undo-outer-limit'. |