changeset 60687:fddbd6936582

(Undo): Document extensible undo entries.
author Richard M. Stallman <rms@gnu.org>
date Thu, 17 Mar 2005 23:51:04 +0000
parents 8680359f80e1
children b0de8a447a79
files lispref/text.texi
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/text.texi	Thu Mar 17 23:44:19 2005 +0000
+++ b/lispref/text.texi	Thu Mar 17 23:51:04 2005 +0000
@@ -1228,6 +1228,16 @@
 @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