Function: deactivate-cursor-after-undo

deactivate-cursor-after-undo is a natively compiled function defined in multiple-cursors-core.el.

Signature

(deactivate-cursor-after-undo ID)

Documentation

Called when undoing to reinstate the real cursor after undoing a fake one.

Source Code

;; Defined in /nix/store/5q7a78ihkz25lf4xmxaa9m7b2ym63m36-emacs-packages-deps/share/emacs/site-lisp/elpa/multiple-cursors-20260419.931/multiple-cursors-core.el
(defun deactivate-cursor-after-undo (id)
  "Called when undoing to reinstate the real cursor after undoing a fake one."
  (when mc--stored-state-for-undo
    (mc/create-fake-cursor-at-point id)
    (mc/pop-state-from-overlay mc--stored-state-for-undo)
    (setq mc--stored-state-for-undo nil)))