Function: eca-workspaces--chat-buffer-at-point

eca-workspaces--chat-buffer-at-point is a natively compiled function defined in eca-workspaces.el.

Signature

(eca-workspaces--chat-buffer-at-point)

Documentation

Return the live chat buffer of the line at point, or nil.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-workspaces.el
(defun eca-workspaces--chat-buffer-at-point ()
  "Return the live chat buffer of the line at point, or nil."
  (when-let* ((session (eca-workspaces--session-at-point))
              (chat-id (eca-workspaces--chat-id-at-point))
              (buffer (eca-get (eca--session-chats session) chat-id)))
    (when (buffer-live-p buffer)
      buffer)))