Function: ghostel-readonly-end-of-buffer
ghostel-readonly-end-of-buffer is an interactive and natively compiled
function defined in ghostel.el.
Signature
(ghostel-readonly-end-of-buffer)
Documentation
Move to the bottom of the buffer (current viewport) in read-only mode.
Key Bindings
ghostel-readonly-mode-map M->
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defun ghostel-readonly-end-of-buffer ()
"Move to the bottom of the buffer (current viewport) in read-only mode."
(interactive)
(goto-char (point-max))
(skip-chars-backward " \t\n")
(when (and ghostel--cursor-char-pos
(<= ghostel--cursor-char-pos (point-max))
(> ghostel--cursor-char-pos (point)))
(goto-char ghostel--cursor-char-pos)))