Function: corfu--exit-function
corfu--exit-function is a natively compiled function defined in
corfu.el.
Signature
(corfu--exit-function STR STATUS CANDS)
Documentation
Call the :exit-function with STR and STATUS.
Lookup STR in CANDS to restore text properties.
Source Code
;; Defined in /nix/store/za087xxa0z5mirfbbagrp0qfaqnfn5wb-emacs-packages-deps/share/emacs/site-lisp/elpa/corfu-20260913.1527/corfu.el
(defun corfu--exit-function (str status cands)
"Call the `:exit-function' with STR and STATUS.
Lookup STR in CANDS to restore text properties."
(when-let* ((exit (plist-get completion-extra-properties :exit-function)))
(funcall exit (or (car (member str cands)) str) status)))