mirror of
https://github.com/protesilaos/dotfiles.git
synced 2026-09-10 07:16:20 -04:00
emacs: load corfu only if vertico is loaded
This commit is contained in:
parent
b4acab0624
commit
108a81175a
|
|
@ -388,7 +388,9 @@ Development continues on GitHub with GitLab as a mirror."))
|
|||
(remove-hook 'save-some-buffers-functions #'abbrev--possibly-save))
|
||||
|
||||
;;; Corfu (in-buffer completion popup)
|
||||
(when (and prot-emacs-completion-extras prot-display-graphic-p)
|
||||
(when (and (eq prot-emacs-completion-ui 'vertico)
|
||||
prot-emacs-completion-extras
|
||||
prot-display-graphic-p)
|
||||
(prot-emacs-configure
|
||||
(prot-emacs-install corfu)
|
||||
|
||||
|
|
|
|||
|
|
@ -4830,7 +4830,9 @@ Also see [[#h:567bb00f-1d82-4746-93e5-e0f60721728a][the =prot-emacs-completion.e
|
|||
|
||||
#+begin_src emacs-lisp :tangle "prot-emacs-modules/prot-emacs-completion.el"
|
||||
;;; Corfu (in-buffer completion popup)
|
||||
(when (and prot-emacs-completion-extras prot-display-graphic-p)
|
||||
(when (and (eq prot-emacs-completion-ui 'vertico)
|
||||
prot-emacs-completion-extras
|
||||
prot-display-graphic-p)
|
||||
(prot-emacs-configure
|
||||
(prot-emacs-install corfu)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue