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 ba25a82855)
This commit is contained in:
Lars Ingebrigtsen 2021-01-22 21:07:35 +01:00 committed by Eli Zaretskii
parent 3f610177ad
commit c8fa056a50

View file

@ -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