diff options
| author | Luc Teirlinck | 2005-01-30 00:39:33 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2005-01-30 00:39:33 +0000 |
| commit | 62d776fd34a8d47520070916e8af9b732fa06903 (patch) | |
| tree | 72a0f616ed2e896d84beb4c15a675b1ce039cde4 /src | |
| parent | 28cb725d59def882d9346d05ad8a93059ecbc44f (diff) | |
| download | emacs-62d776fd34a8d47520070916e8af9b732fa06903.tar.gz emacs-62d776fd34a8d47520070916e8af9b732fa06903.zip | |
(syms_of_undo) <undo-outer-limit>: Doc update.
Diffstat (limited to 'src')
| -rw-r--r-- | src/undo.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/undo.c b/src/undo.c index ac7b4d8935e..3809c83d91d 100644 --- a/src/undo.c +++ b/src/undo.c | |||
| @@ -639,11 +639,13 @@ which includes both saved text and other data. */); | |||
| 639 | DEFVAR_LISP ("undo-outer-limit", &Vundo_outer_limit, | 639 | DEFVAR_LISP ("undo-outer-limit", &Vundo_outer_limit, |
| 640 | doc: /* Outer limit on size of undo information for one command. | 640 | doc: /* Outer limit on size of undo information for one command. |
| 641 | At garbage collection time, if the current command has produced | 641 | At garbage collection time, if the current command has produced |
| 642 | more than this much undo information, it asks you whether to delete | 642 | more than this much undo information, it discards the info and displays |
| 643 | the information. This is a last-ditch limit to prevent memory overflow. | 643 | a warning. This is a last-ditch limit to prevent memory overflow. |
| 644 | 644 | ||
| 645 | The size is counted as the number of bytes occupied, | 645 | The size is counted as the number of bytes occupied, which includes |
| 646 | which includes both saved text and other data. | 646 | both saved text and other data. A value of nil means no limit. In |
| 647 | this case, accumulating one huge undo entry could make Emacs crash as | ||
| 648 | a result of memory overflow. | ||
| 647 | 649 | ||
| 648 | In fact, this calls the function which is the value of | 650 | In fact, this calls the function which is the value of |
| 649 | `undo-outer-limit-function' with one argument, the size. | 651 | `undo-outer-limit-function' with one argument, the size. |