Mention undo-amalgamate-change-group in the lispref manual

* doc/lispref/text.texi (Atomic Changes): Mention
undo-amalgamate-change-group (bug#42303).
This commit is contained in:
Lars Ingebrigtsen 2021-01-22 21:07:35 +01:00
parent b99ec5d5b1
commit ba25a82855

View file

@ -5608,6 +5608,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