Function: kotl-mode:eolp

kotl-mode:eolp is a byte-compiled function defined in kotl-mode.el.

Signature

(kotl-mode:eolp &optional NEXT-CHAR-VISIBLE)

Documentation

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

With optional NEXT-CHAR-VISIBLE, return t only if the following char is visible.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kotl-mode.el
(defun kotl-mode:eolp (&optional next-char-visible)
  "Return t if point is at the end of a visible line or the end of the buffer.
With optional NEXT-CHAR-VISIBLE, return t only if the following char is visible."
  (or (smart-eobp)
      (and (eolp)
	   (if next-char-visible
	       (not (invisible-p (point)))
	     (or (not (invisible-p (point)))
		 (not (invisible-p (1- (point))))))
	   t)))