Function: scroll-other-window

scroll-other-window is an interactive and byte-compiled function defined in window.el.gz.

Signature

(scroll-other-window &optional LINES)

Documentation

Scroll next window upward LINES lines; or near full screen if no ARG.

See scroll-up-command for details.

View in manual

Probably introduced at or before Emacs version 18.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/window.el.gz
(defun scroll-other-window (&optional lines)
  "Scroll next window upward LINES lines; or near full screen if no ARG.
See `scroll-up-command' for details."
  (interactive "P")
  (with-selected-window (other-window-for-scrolling)
    (funcall (or (command-remapping #'scroll-up-command)
                 #'scroll-up-command)
             lines)))