Function: edt-scroll-window-forward

edt-scroll-window-forward is an interactive and byte-compiled function defined in edt.el.gz.

Signature

(edt-scroll-window-forward NUM)

Documentation

Scroll forward one window in buffer, less one line.

Argument NUM is the positive number of windows to move.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/emulation/edt.el.gz
;;;
;;; SCROLL WINDOW
;;;
;; Scroll a window (less one line) at a time.  Leave cursor in center of
;; window.

(defun edt-scroll-window-forward (num)
  "Scroll forward one window in buffer, less one line.
Argument NUM is the positive number of windows to move."
  (interactive "p")
  (edt-check-prefix num)
  (scroll-up (- (* (window-height) num) 2))
  (edt-line-forward (/ (- (window-height) 1) 2)))