Mercurial > emacs
comparison lispref/text.texi @ 60687:fddbd6936582
(Undo): Document extensible undo entries.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 17 Mar 2005 23:51:04 +0000 |
parents | 48eb1c71ba69 |
children | 171f1eda0401 30ad2795fdab |
comparison
equal
deleted
inserted
replaced
60686:8680359f80e1 | 60687:fddbd6936582 |
---|---|
1226 This kind of element records the fact that the marker @var{marker} was | 1226 This kind of element records the fact that the marker @var{marker} was |
1227 relocated due to deletion of surrounding text, and that it moved | 1227 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}) | |
1232 This 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}) | |
1236 This is an extensible undo item, which records a change limited to the | |
1237 range @var{beg} to @var{end}, which increased the size of the buffer | |
1238 by @var{delta}. It is undone by calling @var{funname} with arguments | |
1239 @var{args}. | |
1240 | |
1231 @item nil | 1241 @item nil |
1232 This element is a boundary. The elements between two boundaries are | 1242 This element is a boundary. The elements between two boundaries are |
1233 called a @dfn{change group}; normally, each change group corresponds to | 1243 called a @dfn{change group}; normally, each change group corresponds to |
1234 one keyboard command, and undo commands normally undo an entire group as | 1244 one keyboard command, and undo commands normally undo an entire group as |
1235 a unit. | 1245 a unit. |