Run pre-command-hooks for each cursor

- fixes issues with delete-selection-mode
This commit is contained in:
Magnar Sveen 2012-07-17 19:27:36 +02:00
parent 1db643c4d6
commit 8c8d52f248

View File

@ -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))))))