Function: tpu-scroll-window-up

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

Signature

(tpu-scroll-window-up NUM)

Documentation

Scroll the display up to the next section.

A repeat count means scroll that many sections.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/tpu-extras.el.gz
(defun tpu-scroll-window-up (num)
  "Scroll the display up to the next section.
A repeat count means scroll that many sections."
  (interactive "p")
  (let* ((beg (tpu-current-line))
	 (height (1- (window-height)))
	 (lines (* num (/ (* height tpu-percent-scroll) 100))))
    (line-move lines)
    (tpu-bottom-check beg lines)))