Function: beginning-of-buffer-other-window

beginning-of-buffer-other-window is an interactive and byte-compiled function defined in window.el.gz.

Signature

(beginning-of-buffer-other-window ARG)

Documentation

Move point to the beginning of the buffer in the other window.

Leave mark at previous position. With arg N, put point N/10 of the way from the true beginning.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/window.el.gz
(defun beginning-of-buffer-other-window (arg)
  "Move point to the beginning of the buffer in the other window.
Leave mark at previous position.
With arg N, put point N/10 of the way from the true beginning."
  (interactive "P")
  (with-selected-window (other-window-for-scrolling)
    ;; Set point and mark in that window's buffer.
    (with-no-warnings
      (beginning-of-buffer arg))
    ;; Set point accordingly.
    (recenter '(t))))