[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master ba25a82: Mention undo-amalgamate-change-group in the lispref manu
From: |
Lars Ingebrigtsen |
Subject: |
master ba25a82: Mention undo-amalgamate-change-group in the lispref manual |
Date: |
Fri, 22 Jan 2021 15:07:53 -0500 (EST) |
branch: master
commit ba25a82855a2c03c25fec83f3056c166b692e94f
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Mention undo-amalgamate-change-group in the lispref manual
* doc/lispref/text.texi (Atomic Changes): Mention
undo-amalgamate-change-group (bug#42303).
---
doc/lispref/text.texi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 0b567d8..35bc6f9 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -5610,6 +5610,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}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master ba25a82: Mention undo-amalgamate-change-group in the lispref manual,
Lars Ingebrigtsen <=