summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhillip Lord <phillip.lord@russet.org.uk>2016-05-20 12:45:34 +0100
committerPhillip Lord <phillip.lord@russet.org.uk>2016-05-20 12:45:34 +0100
commit4568a5ce263780d5b159ec103fbf57f8cc5f5fbf (patch)
tree4176373809918a6031dd99860532fef49d5dbfba
parentc75c250b2e5415be5f39cad8effde82a8405c544 (diff)
downloademacs-fix/viper-undo.tar.gz
UPdate manualfix/viper-undo
-rw-r--r--doc/lispref/text.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 96f109b7561..3f258a4c0dc 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -1393,6 +1393,15 @@ normally called periodically by the timer in this variable. Setting
this variable to non-@code{nil} prevents this behavior.
@end defvar
+@defvar undo-auto-disable-boundaries
+Some modes may wish to provide their own @code{undo-boundary}
+handling so that, for example, several commands may be undone with a
+single undo. Setting this variable to a non-@code{nil} value disables
+the automatic addition of these boundaries. In these circumstances,
+the developer must ensure that boundaries get added often enough;
+otherwise, @code{buffer-undo-list} will get too large.
+@end defvar
+
@defvar undo-in-progress
This variable is normally @code{nil}, but the undo commands bind it to
@code{t}. This is so that various kinds of change hooks can tell when