summaryrefslogtreecommitdiff
path: root/doc/lispref/text.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/lispref/text.texi')
-rw-r--r--doc/lispref/text.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 06975f76706..5eead42031d 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -5561,6 +5561,11 @@ 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
always finished. The call to @code{activate-change-group} should be
inside the @code{unwind-protect}, in case the user types @kbd{C-g}