Function: corfu-insert

corfu-insert is an interactive and byte-compiled function defined in corfu.el.

Signature

(corfu-insert)

Documentation

Insert current candidate.

Quit if no candidate is selected.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/corfu-20260813.950/corfu.el
(defun corfu-insert ()
  "Insert current candidate.
Quit if no candidate is selected."
  (interactive)
  (if (>= corfu--index 0)
      (corfu--insert 'finished)
    (corfu-quit)))