summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2023-12-29 18:00:23 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2023-12-29 18:00:23 +0100
commit2264da1a1c7c56b601edffe49b0772e78124e76c (patch)
tree44f1220541b3c0f6d62b7b7c33eff23d30985d8a
parent1c53066c413faac4afe853153fdb00475c3e4c78 (diff)
Update README
-rw-r--r--README.org15
1 files changed, 7 insertions, 8 deletions
diff --git a/README.org b/README.org
index d19ad49..f2497e5 100644
--- a/README.org
+++ b/README.org
@@ -224,15 +224,14 @@ source code for further details.
** Completing in the minibuffer
Corfu can be used for completion in the minibuffer, since it relies on child
-frames to display the candidates. The Corfu popup can be displayed even if it
-doesn't fully fit inside the minibuffer. There is a caveat however if you use
-EXWM, since then an EXWM buffer will overlap the child frame.
+frames to display the candidates. The Corfu popup can be shown even if it
+doesn't fully fit inside the minibuffer.
By default, ~global-corfu-mode~ does not activate ~corfu-mode~ in the minibuffer, to
avoid interference with specialised minibuffer completion UIs like Vertico or
Mct. However you may still want to enable Corfu completion for commands like ~M-:~
(~eval-expression~) or ~M-!~ (~shell-command~), which read from the minibuffer. In
-order to detect such minibuffers we can check if the variable
+order to detect minibuffers with completion we check if the variable
~completion-at-point-functions~ is set locally.
#+begin_src emacs-lisp
@@ -246,10 +245,10 @@ order to detect such minibuffers we can check if the variable
(add-hook 'minibuffer-setup-hook #'corfu-enable-in-minibuffer)
#+end_src
-You can also enable Corfu more generally for every minibuffer, as long as no
-completion UI is active. In the following example we check for Mct and Vertico.
-Furthermore we ensure that Corfu is not enabled if a password is read from the
-minibuffer.
+This is not recommended, but one can also enable Corfu more generally for every
+minibuffer, as long as no completion UI is active. In the following example we
+check for Mct and Vertico. Furthermore we ensure that Corfu is not enabled if a
+password is read from the minibuffer.
#+begin_src emacs-lisp
(defun corfu-enable-always-in-minibuffer ()