emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/multiple-cursors efd79f3 043/434: Add undo to list of know


From: ELPA Syncer
Subject: [nongnu] elpa/multiple-cursors efd79f3 043/434: Add undo to list of known run-only-once commands.
Date: Sat, 7 Aug 2021 09:19:51 -0400 (EDT)

branch: elpa/multiple-cursors
commit efd79f3258fc047f19e482e5e0cbd9ed22b32aab
Author: Magnar Sveen <magnars@gmail.com>
Commit: Magnar Sveen <magnars@gmail.com>

    Add undo to list of known run-only-once commands.
---
 multiple-cursors-core.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/multiple-cursors-core.el b/multiple-cursors-core.el
index e1a074e..093ee04 100644
--- a/multiple-cursors-core.el
+++ b/multiple-cursors-core.el
@@ -178,7 +178,10 @@ from being executed if in multiple-cursors-mode."
 
 ;; Commands to run only once (not yet in use)
 (setq mc--cmds-run-once '(mark-next-like-this
-                          save-buffer))
+                          save-buffer
+                          undo
+                          undo-tree-undo
+                          undo-tree-redo))
 
 ;; Commands that should be mirrored by all cursors
 (setq mc--cmds '(mc/keyboard-quit



reply via email to

[Prev in Thread] Current Thread [Next in Thread]