Function: eolp

eolp is a function defined in editfns.c.

Signature

(eolp)

Documentation

Return t if point is at the end of a line.

End of a line includes point being at the end of the buffer.

Other relevant functions are documented in the buffer group.

View in manual

Shortdoc

;; buffer
(eolp)
    => t

Source Code

// Defined in /usr/src/emacs/src/editfns.c
{
  if (PT == ZV || FETCH_BYTE (PT_BYTE) == '\n')
    return Qt;
  return Qnil;
}