diff options
| author | Richard M. Stallman | 2005-03-17 23:51:04 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-03-17 23:51:04 +0000 |
| commit | 2abded2ea087d264c60a6a47e0472381ff1c99cc (patch) | |
| tree | dc425c84701e7cf1e0ed6cfa7ef1fbdb38c9e6c6 /lispref | |
| parent | f9d0b1eda13de6f3f3a4ea1fd4f0bdc7b214d414 (diff) | |
| download | emacs-2abded2ea087d264c60a6a47e0472381ff1c99cc.tar.gz emacs-2abded2ea087d264c60a6a47e0472381ff1c99cc.zip | |
(Undo): Document extensible undo entries.
Diffstat (limited to 'lispref')
| -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 | |||
| 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 |