Function: eca-chat--context-bar-edge-spec

eca-chat--context-bar-edge-spec is a natively compiled function defined in eca-chat.el.

Signature

(eca-chat--context-bar-edge-spec CATEGORIES ALLOC)

Documentation

Return the face spec for the sub-cell edge given CATEGORIES and ALLOC.

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-bar-edge-spec (categories alloc)
  "Return the face spec for the sub-cell edge given CATEGORIES and ALLOC."
  (let ((last nil))
    (cl-loop for cat in categories for n in alloc
             when (> n 0) do (setq last cat))
    (eca-chat--context-category-face-spec (or last (car categories)))))