diff options
author | jao <jao@gnu.org> | 2022-08-04 01:05:25 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-08-04 01:05:25 +0100 |
commit | 0cdde8db4819d0f3b1b8adc8b0339830c26a19f4 (patch) | |
tree | 8e661a478febe7e9adb64355875ce38c3132b361 | |
parent | a3578e836180b5095bbefeb607ed0ba15c2564c3 (diff) | |
download | elibs-0cdde8db4819d0f3b1b8adc8b0339830c26a19f4.tar.gz elibs-0cdde8db4819d0f3b1b8adc8b0339830c26a19f4.tar.bz2 |
completion: corfu in graphical displays
-rw-r--r-- | custom/jao-custom-completion.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/custom/jao-custom-completion.el b/custom/jao-custom-completion.el index c5c3e52..4f9fb33 100644 --- a/custom/jao-custom-completion.el +++ b/custom/jao-custom-completion.el @@ -169,9 +169,9 @@ (defun corfu-in-minibuffer () (when (not (bound-and-true-p vertico--input)) (corfu-mode 1))) -(add-hook 'minibuffer-setup-hook #'corfu-in-minibuffer 1) - -(when (display-graphic-p) (global-corfu-mode 1)) +(when (display-graphic-p) + (add-hook 'minibuffer-setup-hook #'corfu-in-minibuffer 1) + (global-corfu-mode 1)) ;;; vertico (use-package vertico |