Function: pixel-scroll-down-and-set-window-vscroll
pixel-scroll-down-and-set-window-vscroll is a byte-compiled function
defined in pixel-scroll.el.gz.
Signature
(pixel-scroll-down-and-set-window-vscroll VSCROLL)
Documentation
Scroll down a line and set VSCROLL in pixels.
It is important to call set-window-start to force the display engine
to use that particular position as the window-start point.
Otherwise, redisplay will reset the window's vscroll.
Source Code
;; Defined in /usr/src/emacs/lisp/pixel-scroll.el.gz
(defun pixel-scroll-down-and-set-window-vscroll (vscroll)
"Scroll down a line and set VSCROLL in pixels.
It is important to call `set-window-start' to force the display engine
to use that particular position as the `window-start' point.
Otherwise, redisplay will reset the window's vscroll."
(set-window-start nil (pixel-point-at-unseen-line) t)
(set-window-vscroll nil vscroll t))