From 6956e8e12ee191d7c80d042ae8ff495286fcbe38 Mon Sep 17 00:00:00 2001 From: Magnar Sveen Date: Thu, 9 Mar 2023 13:04:31 +0100 Subject: [PATCH] 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 194ca0b..3d48684 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."