Function: point-max
point-max is a function defined in editfns.c.
Signature
(point-max)
Documentation
Return the maximum permissible value of point in the current buffer.
This is (1+ (buffer-size)), unless narrowing (a buffer restriction) is in effect, in which case it is less.
Other relevant functions are documented in the buffer group.
Probably introduced at or before Emacs version 17.
Shortdoc
;; buffer
(point-max)
=> 105
Source Code
// Defined in /usr/src/emacs/src/editfns.c
{
Lisp_Object temp;
XSETFASTINT (temp, ZV);
return temp;
}