Variable: eca-chat-context-buffer-predicate

eca-chat-context-buffer-predicate is a customizable variable defined in eca-chat-context.el.

Value

eca-chat-context-buffer-include-p

Documentation

Predicate deciding if a buffer can be offered as text context.

Called with a buffer, should return non-nil to offer it in the
@ completion and DWIM context commands.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat-context.el
(defcustom eca-chat-context-buffer-predicate #'eca-chat-context-buffer-include-p
  "Predicate deciding if a buffer can be offered as text context.
Called with a buffer, should return non-nil to offer it in the
`@' completion and DWIM context commands."
  :type 'function
  :group 'eca)