branch: elpa/multiple-cursors
commit 6956e8e12ee191d7c80d042ae8ff495286fcbe38
Author: Magnar Sveen <[email protected]>
Commit: GitHub <[email protected]>
Add autoload to activate-cursor-for-undo
This solves an issue where packages are loaded mid undo-session with undo-fu
---
multiple-cursors-core.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/multiple-cursors-core.el b/multiple-cursors-core.el
index 194ca0b45d..3d48684ada 100644
--- a/multiple-cursors-core.el
+++ b/multiple-cursors-core.el
@@ -368,6 +368,7 @@ caches will be reset by mc--reset-read-prompts."
(defvar mc--stored-state-for-undo nil
"Variable to keep the state of the real cursor while undoing a fake one")
+;;;###autoload
(defun activate-cursor-for-undo (id)
"Called when undoing to temporarily activate the fake cursor
which action is being undone."