commit 6b44667e0d073f2fdfd92459372ae50aeec5c952
parent 184af61ba3766e9b7b4c8f341bed0de4412fdd2e
Author: Wojciech Siewierski <wojciech@siewierski.eu>
Date: Mon, 28 Apr 2025 20:12:39 +0200
Reorder undo-amalgamate-change-group and accept-change-group
with-undo-amalgamate does it this way, so it's probably correct.
Sadly, with-undo-amalgamate itself isn't applicable here as we hook
into the mode activation and deactivation, i.e. two separate calls
with no specific block of code to surround with it.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kmacro-x-mc.el b/kmacro-x-mc.el
@@ -406,8 +406,8 @@ user directory.
(undo-boundary)
(setq-local kmacro-x-mc-change-group (prepare-change-group))
(activate-change-group kmacro-x-mc-change-group))
- (undo-amalgamate-change-group kmacro-x-mc-change-group)
(accept-change-group kmacro-x-mc-change-group)
+ (undo-amalgamate-change-group kmacro-x-mc-change-group)
(kill-local-variable 'kmacro-x-mc-change-group)))
;;;###autoload