Function: View-scroll-to-buffer-end

View-scroll-to-buffer-end is an interactive and byte-compiled function defined in view.el.gz.

Signature

(View-scroll-to-buffer-end)

Documentation

Scroll backward or forward so that buffer end is at last line of window.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/view.el.gz
(defun View-scroll-to-buffer-end ()
  "Scroll backward or forward so that buffer end is at last line of window."
  (interactive)
  (let ((p (if (pos-visible-in-window-p (point-max)) (point))))
    (goto-char (point-max))
    (recenter -1)
    (and p (goto-char p))))