end-of-buffer

end-of-buffer is an interactive compiled Lisp function in `simple.el'.

It is bound to <C-end>, M->, <menu-bar> <edit> <goto> <end-of-buf>.

(end-of-buffer &optional ARG)

This function is for interactive use only;
in Lisp code use `(goto-char (point-max))' instead.

Move point to the end of the buffer.
With numeric arg N, put point N/10 of the way from the end.
If the buffer is narrowed, this command uses the end of the
accessible part of the buffer.

If Transient Mark mode is disabled, leave mark at previous
position, unless a C-u prefix is supplied.