Function: mc/restore-state-from-overlay
mc/restore-state-from-overlay is a natively compiled function defined
in multiple-cursors-core.el.
Signature
(mc/restore-state-from-overlay O)
Documentation
Restore point and mark from stored info in the given overlay.
Source Code
;; Defined in /nix/store/5q7a78ihkz25lf4xmxaa9m7b2ym63m36-emacs-packages-deps/share/emacs/site-lisp/elpa/multiple-cursors-20260419.931/multiple-cursors-core.el
(defun mc/restore-state-from-overlay (o)
"Restore point and mark from stored info in the given overlay."
(goto-char (overlay-get o 'point))
(set-marker (mark-marker) (overlay-get o 'mark))
(dolist (var mc/cursor-specific-vars)
(when (boundp var) (set var (overlay-get o var)))))