projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f61017
)
Mention undo-amalgamate-change-group in the lispref manual
author
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 22 Jan 2021 20:07:35 +0000
(21:07 +0100)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 23 Jan 2021 08:57:54 +0000
(10:57 +0200)
* doc/lispref/text.texi (Atomic Changes): Mention
undo-amalgamate-change-group (bug#42303).
(cherry picked from commit
ba25a82855a2c03c25fec83f3056c166b692e94f
)
doc/lispref/text.texi
patch
|
blob
|
history
diff --git
a/doc/lispref/text.texi
b/doc/lispref/text.texi
index 06975f76706c05dfe69fac6a4fdde85df2ecb535..5eead42031db3cff7238860efe84fc0d87c4e4ad 100644
(file)
--- a/
doc/lispref/text.texi
+++ b/
doc/lispref/text.texi
@@
-5559,6
+5559,11
@@
This function accepts all the changes in the change group specified by
@defun cancel-change-group handle
This function cancels and undoes all the changes in the change group
specified by @var{handle}.
+@end defun
+
+@defun undo-amalgamate-change-group
+Amalgamate changes in change-group since @var{handle}. I.e., remove
+all undo boundaries between the state of @var{handle} and now.
@end defun
Your code should use @code{unwind-protect} to make sure the group is