Function: eca-chat--context-free-face-spec

eca-chat--context-free-face-spec is a natively compiled function defined in eca-chat.el.

Signature

(eca-chat--context-free-face-spec BREAKDOWN)

Documentation

Return the face spec for the free portion from BREAKDOWN.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--context-free-face-spec (breakdown)
  "Return the face spec for the free portion from BREAKDOWN."
  (let ((color (plist-get breakdown :freeColor)))
    (if (and (stringp color) (not (string-empty-p color)))
        (list :foreground color)
      'eca-chat-context-free-face)))