Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e15db174
Commit
e15db174
authored
Jan 31, 2005
by
Kim F. Storm
Browse files
(Undo) <buffer-undo-list>: Describe `apply' elements.
parent
23c5319c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
lispref/text.texi
lispref/text.texi
+12
-0
No files found.
lispref/text.texi
View file @
e15db174
...
...
@@ -1208,6 +1208,18 @@ Here's how you might undo the change:
(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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment