From efd79f3258fc047f19e482e5e0cbd9ed22b32aab Mon Sep 17 00:00:00 2001 From: Magnar Sveen Date: Mon, 2 Jul 2012 07:24:09 +0200 Subject: [PATCH] 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