From: Lars Ingebrigtsen Date: Fri, 22 Jan 2021 20:07:35 +0000 (+0100) Subject: Mention undo-amalgamate-change-group in the lispref manual X-Git-Tag: emacs-27.1.91~8 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c8fa056a50586429be37fc5bfde8226c4b6cefa2;p=emacs.git Mention undo-amalgamate-change-group in the lispref manual * doc/lispref/text.texi (Atomic Changes): Mention undo-amalgamate-change-group (bug#42303). (cherry picked from commit ba25a82855a2c03c25fec83f3056c166b692e94f) --- 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 @@ -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