Function: scroll-up-line

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

Signature

(scroll-up-line &optional ARG)

Documentation

Scroll text of selected window upward ARG lines; or one line if no ARG.

If ARG is omitted or nil, scroll upward by one line. This is different from scroll-up-command that scrolls a full screen.

View in manual

Probably introduced at or before Emacs version 24.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/window.el.gz
;;; Scrolling commands which scroll a line instead of full screen.

(defun scroll-up-line (&optional arg)
  "Scroll text of selected window upward ARG lines; or one line if no ARG.
If ARG is omitted or nil, scroll upward by one line.
This is different from `scroll-up-command' that scrolls a full screen."
  (interactive "p")
  (scroll-up (or arg 1)))