Function: eca-chat--point-at-new-context-p
eca-chat--point-at-new-context-p is a natively compiled function
defined in eca-chat.el.
Signature
(eca-chat--point-at-new-context-p)
Documentation
Return non-nil if point is at the context area.
Returns nil in buffers without the chat prompt overlays (a nil
context-area start would make line-number-at-pos fall back to
the current line, making this predicate true at any end of line).
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--point-at-new-context-p ()
"Return non-nil if point is at the context area.
Returns nil in buffers without the chat prompt overlays (a nil
context-area start would make `line-number-at-pos' fall back to
the current line, making this predicate true at any end of line)."
(when-let* ((context-start (eca-chat--new-context-start-point)))
(and (eq (line-number-at-pos (point))
(line-number-at-pos context-start))
(eolp))))