Add autoload to activate-cursor-for-undo

This solves an issue where packages are loaded mid undo-session with undo-fu
This commit is contained in:
Magnar Sveen 2023-03-09 13:04:31 +01:00 committed by GitHub
parent 16223efc2d
commit 6956e8e12e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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."