Function: pop-to-mark-command
pop-to-mark-command is an interactive and byte-compiled function
defined in simple.el.gz.
Signature
(pop-to-mark-command)
Documentation
Jump to mark, and pop a new position for mark off the ring.
(Does not affect global mark ring).
This function has :after advice: org-mark-jump-unhide.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defun pop-to-mark-command ()
"Jump to mark, and pop a new position for mark off the ring.
\(Does not affect global mark ring)."
(interactive)
(if (null (mark t))
(user-error "No mark set in this buffer")
(if (= (point) (mark t))
(message "Mark popped"))
(goto-char (mark t))
(pop-mark)))