639 |
DEFVAR_LISP ("undo-outer-limit", &Vundo_outer_limit, |
DEFVAR_LISP ("undo-outer-limit", &Vundo_outer_limit, |
640 |
doc: /* Outer limit on size of undo information for one command. |
doc: /* Outer limit on size of undo information for one command. |
641 |
At garbage collection time, if the current command has produced |
At garbage collection time, if the current command has produced |
642 |
more than this much undo information, it asks you whether to delete |
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. |
a warning. This is a last-ditch limit to prevent memory overflow. |
644 |
|
|
645 |
The size is counted as the number of bytes occupied, |
The size is counted as the number of bytes occupied, which includes |
646 |
which includes both saved text and other data. |
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. |
649 |
|
|
650 |
In fact, this calls the function which is the value of |
In fact, this calls the function which is the value of |
651 |
`undo-outer-limit-function' with one argument, the size. |
`undo-outer-limit-function' with one argument, the size. |