Function: View-scroll-page-forward-set-page-size

View-scroll-page-forward-set-page-size is an interactive and byte-compiled function defined in view.el.gz.

Signature

(View-scroll-page-forward-set-page-size &optional LINES)

Documentation

Scroll forward LINES lines in View mode, setting the "page size".

This is the number of lines which M-x View-scroll-page-forward (View-scroll-page-forward) and M-x View-scroll-page-backward (View-scroll-page-backward) scroll by default. If LINES is omitted or = 0, sets "page size" to window height and scrolls forward that much, otherwise scrolls forward LINES lines and sets
"page size" to the minimum of window height and the absolute value of LINES.
See also View-scroll-page-forward.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/view.el.gz
(defun View-scroll-page-forward-set-page-size (&optional lines)
  "Scroll forward LINES lines in View mode, setting the \"page size\".
This is the number of lines which \\[View-scroll-page-forward] and
\\[View-scroll-page-backward] scroll by default.
If LINES is omitted or = 0, sets \"page size\" to window height and
scrolls forward that much, otherwise scrolls forward LINES lines and sets
\"page size\" to the minimum of window height and the absolute value of LINES.
See also `View-scroll-page-forward'."
  (interactive "P")
  (view-scroll-lines lines nil
		     (setq view-page-size (view-page-size-default lines))
		     nil))