Function: eca--chat-buffer-completion-table

eca--chat-buffer-completion-table is a natively compiled function defined in eca.el.

Signature

(eca--chat-buffer-completion-table CANDIDATES)

Documentation

Build a completion table for CANDIDATES.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca.el
(defun eca--chat-buffer-completion-table (candidates)
  "Build a completion table for CANDIDATES."
  (lambda (string pred action)
    (if (eq action 'metadata)
        `(metadata
          (category . eca-chat))
      (complete-with-action action (mapcar #'car candidates) string pred))))