Function: Info-scroll-down
Info-scroll-down is an interactive and byte-compiled function defined
in info.el.gz.
Signature
(Info-scroll-down)
Documentation
Scroll one screenful back in Info, considering all nodes as one sequence.
If point is within the menu of a node, and Info-scroll-prefer-subnodes
is non-nil, this goes to its last subnode. When you scroll past the
beginning of a node, that goes to the previous node or back up to the
parent node.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/info.el.gz
(defun Info-scroll-down ()
"Scroll one screenful back in Info, considering all nodes as one sequence.
If point is within the menu of a node, and `Info-scroll-prefer-subnodes'
is non-nil, this goes to its last subnode. When you scroll past the
beginning of a node, that goes to the previous node or back up to the
parent node."
(interactive nil Info-mode)
(if (or (< (window-start) (point-min))
(> (window-start) (point-max)))
(set-window-start (selected-window) (point)))
(let* ((case-fold-search t)
(current-point (point))
(virtual-end
(and Info-scroll-prefer-subnodes
(save-excursion
(setq current-point (line-beginning-position))
(goto-char (point-min))
(search-forward "\n* Menu:" current-point t)))))
(if (or virtual-end
(pos-visible-in-window-p (point-min) nil t))
(Info-last-preorder)
(scroll-down))))