Function: follow-end-of-buffer
follow-end-of-buffer is an interactive and byte-compiled function
defined in follow.el.gz.
Signature
(follow-end-of-buffer &optional ARG)
Documentation
Move point to the end of the buffer, Follow mode style.
If the end is not visible, it will be displayed in the last possible window in the Follow mode window chain.
The mark is left at the previous position. With arg N, put point N/10 of the way from the true end.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/follow.el.gz
;;; End of buffer
(defun follow-end-of-buffer (&optional arg)
"Move point to the end of the buffer, Follow mode style.
If the end is not visible, it will be displayed in the last possible
window in the Follow mode window chain.
The mark is left at the previous position. With arg N, put point N/10
of the way from the true end."
(interactive "P")
(let ((followers (follow-all-followers))
(pos (point)))
(cond (arg
(select-window (car (reverse followers))))
((follow-select-if-end-visible
(follow-windows-start-end followers)))
(t
(select-window (car (reverse followers)))))
(goto-char pos)
(with-no-warnings
(end-of-buffer arg))))