aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-03-17 23:51:04 +0000
committerRichard M. Stallman2005-03-17 23:51:04 +0000
commit2abded2ea087d264c60a6a47e0472381ff1c99cc (patch)
treedc425c84701e7cf1e0ed6cfa7ef1fbdb38c9e6c6
parentf9d0b1eda13de6f3f3a4ea1fd4f0bdc7b214d414 (diff)
downloademacs-2abded2ea087d264c60a6a47e0472381ff1c99cc.tar.gz
emacs-2abded2ea087d264c60a6a47e0472381ff1c99cc.zip
(Undo): Document extensible undo entries.
-rw-r--r--lispref/text.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/lispref/text.texi b/lispref/text.texi
index 6934a976396..e300b345454 100644
--- a/lispref/text.texi
+++ b/lispref/text.texi
@@ -1228,6 +1228,16 @@ relocated due to deletion of surrounding text, and that it moved
1228@var{adjustment} character positions. Undoing this element moves 1228@var{adjustment} character positions. Undoing this element moves
1229@var{marker} @minus{} @var{adjustment} characters. 1229@var{marker} @minus{} @var{adjustment} characters.
1230 1230
1231@item (apply @var{funname} . @var{args})
1232This is an extensible undo item, which is undone by calling
1233@var{funname} with arguments @var{args}.
1234
1235@item (apply @var{delta} @var{beg} @var{end} @var{funname} . @var{args})
1236This is an extensible undo item, which records a change limited to the
1237range @var{beg} to @var{end}, which increased the size of the buffer
1238by @var{delta}. It is undone by calling @var{funname} with arguments
1239@var{args}.
1240
1231@item nil 1241@item nil
1232This element is a boundary. The elements between two boundaries are 1242This element is a boundary. The elements between two boundaries are
1233called a @dfn{change group}; normally, each change group corresponds to 1243called a @dfn{change group}; normally, each change group corresponds to