Function: View-back-to-mark

View-back-to-mark is an interactive and byte-compiled function defined in view.el.gz.

Signature

(View-back-to-mark &optional IGNORE)

Documentation

Return to last mark set in View mode, else beginning of file.

Display that line at the center of the window. This command pops the mark ring, so that successive invocations return to earlier marks.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/view.el.gz
(defun View-back-to-mark (&optional _ignore)
  "Return to last mark set in View mode, else beginning of file.
Display that line at the center of the window.
This command pops the mark ring, so that successive
invocations return to earlier marks."
  (interactive)
  (goto-char (or (mark t) (point-min)))
  (pop-mark)
  (view-recenter))