Function: eca-chat--doctor-section

eca-chat--doctor-section is a natively compiled function defined in eca-chat.el.

Signature

(eca-chat--doctor-section)

Documentation

Return a markdown-formatted diagnostic string for the active chat.

Auto-finds the chat buffer via eca-chat--doctor-find-buffer. When no chat buffer is available, returns a single-line notice instead. Used by eca-doctor.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--doctor-section ()
  "Return a markdown-formatted diagnostic string for the active chat.
Auto-finds the chat buffer via `eca-chat--doctor-find-buffer'.  When
no chat buffer is available, returns a single-line notice instead.
Used by `eca-doctor'."
  (if-let ((src-buf (eca-chat--doctor-find-buffer)))
      (eca-chat--doctor-format src-buf)
    "No chat buffer found in any running session.\n"))