# HG changeset patch # User Richard M. Stallman # Date 1111103464 0 # Node ID fddbd693658257ef02af140f503c777a4cf7a933 # Parent 8680359f80e189ea8359d6c48d364d008e7298f3 (Undo): Document extensible undo entries. diff -r 8680359f80e1 -r fddbd6936582 lispref/text.texi --- 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