# HG changeset patch # User Kim F. Storm # Date 1107213731 0 # Node ID 99a4ebcb02a2ff325267d32745c2c42ff772c7b2 # Parent 9d3ae9d4372d9a4e46f918cd321e38b238b22a53 (Undo) : Describe `apply' elements. diff -r 9d3ae9d4372d -r 99a4ebcb02a2 lispref/text.texi --- a/lispref/text.texi Mon Jan 31 23:18:45 2005 +0000 +++ b/lispref/text.texi Mon Jan 31 23:22:11 2005 +0000 @@ -1208,6 +1208,18 @@ (put-text-property @var{beg} @var{end} @var{property} @var{value}) @end example +@item (apply @var{funname} . @var{args}) +This kind of element records a change that can be undone by evaluating +(@code{apply} @var{funname} @var{args}). + +@item (apply @var{delta} @var{beg} @var{end} @var{funname} . @var{args}) +This kind of element records a change that can be undone by evaluating +(@code{apply} @var{funname} @var{args}). The integer values @var{beg} +and @var{end} is buffer positions of the range affected by this change +and @var{delta} is an integer value which is the number of bytes added +or deleted in that range by this change. This kind of element +supports undo in an active region + @item (@var{marker} . @var{adjustment}) This kind of element records the fact that the marker @var{marker} was relocated due to deletion of surrounding text, and that it moved