Function: mc/mark-pop

mc/mark-pop is an interactive and natively compiled function defined in mc-mark-pop.el.

Signature

(mc/mark-pop)

Documentation

Add a cursor at the current point, pop off mark ring and jump to the popped mark.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/5q7a78ihkz25lf4xmxaa9m7b2ym63m36-emacs-packages-deps/share/emacs/site-lisp/elpa/multiple-cursors-20260419.931/mc-mark-pop.el
;;;###autoload
(defun mc/mark-pop ()
  "Add a cursor at the current point, pop off mark ring and jump
to the popped mark."
  (interactive)
  ;; If the mark happens to be at the current point, just pop that one off.
  (while (eql (mark) (point))
    (pop-mark))
  (mc/create-fake-cursor-at-point)
  (exchange-point-and-mark)
  (pop-mark)
  (mc/maybe-multiple-cursors-mode))