Variable: corfu-mode
corfu-mode is a buffer-local variable defined in corfu.el.
Documentation
Non-nil if Corfu mode is enabled.
Use the command corfu-mode(var)/corfu-mode(fun) to change this variable.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/corfu-20260813.950/corfu.el
;;;###autoload
(define-minor-mode corfu-mode
"COmpletion in Region FUnction."
:group 'corfu :keymap corfu-mode-map
(cond
(corfu-mode
(when corfu-auto
(require 'corfu-auto)
(add-hook 'post-command-hook 'corfu-auto--post-command 10 'local))
(setq-local completion-in-region-function #'corfu--in-region))
(t
(remove-hook 'post-command-hook 'corfu-auto--post-command 'local)
(kill-local-variable 'completion-in-region-function))))