From 8c8d52f248324b39f68eb8add96353e2b1bb07b2 Mon Sep 17 00:00:00 2001 From: Magnar Sveen Date: Tue, 17 Jul 2012 19:27:36 +0200 Subject: [PATCH] Run pre-command-hooks for each cursor - fixes issues with delete-selection-mode --- multiple-cursors-core.el | 1 + 1 file changed, 1 insertion(+) diff --git a/multiple-cursors-core.el b/multiple-cursors-core.el index 611313b..784fd5c 100644 --- a/multiple-cursors-core.el +++ b/multiple-cursors-core.el @@ -97,6 +97,7 @@ cursor with updated info." (mc/for-each-fake-cursor (mc/pop-state-from-overlay cursor) (ignore-errors + (run-hooks 'pre-command-hook) (call-interactively cmd) (when deactivate-mark (deactivate-mark)) (mc/create-fake-cursor-at-point))))))