Function: point-at-eol

point-at-eol is a function alias for line-end-position, defined in editfns.c.

This function is obsolete since 29.1; use line-end-position or pos-eol instead.

Signature

(point-at-eol &optional N)

Documentation

Return the position of the last character in the current line/field.

With argument N not nil or 1, move forward N - 1 lines first. If scan reaches end of buffer, return that position.

This function is like pos-eol (which see), but respects fields.

This function constrains the returned position to the current field unless that would be on a different line from the original, unconstrained result. If N is nil or 1, and a rear-sticky field ends at point, the scan stops as soon as it starts. To ignore field boundaries bind inhibit-field-text-motion to t.

This function does not move point.

Aliases

point-at-eol (obsolete since 29.1) mh-line-end-position (obsolete since 29.1) hashcash-point-at-eol (obsolete since 28.1)