Function: eca-chat--completion-accept
eca-chat--completion-accept is a natively compiled function defined in
eca-chat.el.
Signature
(eca-chat--completion-accept)
Documentation
Accept the current completion candidate.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--completion-accept ()
"Accept the current completion candidate."
(cond
((and (bound-and-true-p corfu--frame)
(frame-visible-p corfu--frame)
(fboundp 'corfu-insert))
(corfu-insert))
((and (bound-and-true-p company-candidates)
(fboundp 'company-complete-selection))
(company-complete-selection))
((bound-and-true-p completion-in-region-mode)
(completion-at-point))))