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