diff options
author | Richard M. Stallman <rms@gnu.org> | 2005-03-17 23:51:04 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2005-03-17 23:51:04 +0000 |
commit | 2abded2ea087d264c60a6a47e0472381ff1c99cc (patch) | |
tree | dc425c84701e7cf1e0ed6cfa7ef1fbdb38c9e6c6 /lispref/text.texi | |
parent | f9d0b1eda13de6f3f3a4ea1fd4f0bdc7b214d414 (diff) | |
download | emacs-2abded2ea087d264c60a6a47e0472381ff1c99cc.tar.gz |
(Undo): Document extensible undo entries.
Diffstat (limited to 'lispref/text.texi')
-rw-r--r-- | lispref/text.texi | 10 |
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 @var{adjustment} character positions. Undoing this element moves @var{marker} @minus{} @var{adjustment} characters. +@item (apply @var{funname} . @var{args}) +This is an extensible undo item, which is undone by calling +@var{funname} with arguments @var{args}. + +@item (apply @var{delta} @var{beg} @var{end} @var{funname} . @var{args}) +This is an extensible undo item, which records a change limited to the +range @var{beg} to @var{end}, which increased the size of the buffer +by @var{delta}. It is undone by calling @var{funname} with arguments +@var{args}. + @item nil This element is a boundary. The elements between two boundaries are called a @dfn{change group}; normally, each change group corresponds to |