aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLuc Teirlinck2005-01-30 00:39:33 +0000
committerLuc Teirlinck2005-01-30 00:39:33 +0000
commit62d776fd34a8d47520070916e8af9b732fa06903 (patch)
tree72a0f616ed2e896d84beb4c15a675b1ce039cde4 /src
parent28cb725d59def882d9346d05ad8a93059ecbc44f (diff)
downloademacs-62d776fd34a8d47520070916e8af9b732fa06903.tar.gz
emacs-62d776fd34a8d47520070916e8af9b732fa06903.zip
(syms_of_undo) <undo-outer-limit>: Doc update.
Diffstat (limited to 'src')
-rw-r--r--src/undo.c10
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.
641At garbage collection time, if the current command has produced 641At garbage collection time, if the current command has produced
642more than this much undo information, it asks you whether to delete 642more than this much undo information, it discards the info and displays
643the information. This is a last-ditch limit to prevent memory overflow. 643a warning. This is a last-ditch limit to prevent memory overflow.
644 644
645The size is counted as the number of bytes occupied, 645The size is counted as the number of bytes occupied, which includes
646which includes both saved text and other data. 646both saved text and other data. A value of nil means no limit. In
647this case, accumulating one huge undo entry could make Emacs crash as
648a result of memory overflow.
647 649
648In fact, this calls the function which is the value of 650In 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.