branch: elpa/multiple-cursors
commit efd79f3258fc047f19e482e5e0cbd9ed22b32aab
Author: Magnar Sveen <[email protected]>
Commit: Magnar Sveen <[email protected]>
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