Function: pos-eol
pos-eol is a byte-compiled function defined in compat-29.el.
Signature
(pos-eol &optional N)
Documentation
[Compatibility function for pos-eol, defined in Emacs 29.1. See (compat) Emacs
29.1' for more details.]
Return the position of the last character on the current line. With argument N not nil or 1, move forward N - 1 lines first. If scan reaches end of buffer, return that position.
This function ignores text display directionality; it returns the position of the last character in logical order, i.e. the largest character position on the line.
This function does not move point. Also see line-end-position.
Source Code
;; Defined in ~/.emacs.d/elpa/compat-30.1.0.1/compat-29.el
(compat-defun pos-eol (&optional n) ;; <compat-tests:pos-bol>
"Return the position of the last character on the current line.
With argument N not nil or 1, move forward N - 1 lines first.
If scan reaches end of buffer, return that position.
This function ignores text display directionality; it returns the
position of the last character in logical order, i.e. the largest
character position on the line.
This function does not move point. Also see `line-end-position'."
(declare (side-effect-free t))
(let ((inhibit-field-text-motion t))
(line-end-position n)))