[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/corfu 633ecfb003 2/8: Update readme
From: |
ELPA Syncer |
Subject: |
[elpa] externals/corfu 633ecfb003 2/8: Update readme |
Date: |
Sat, 19 Nov 2022 22:57:32 -0500 (EST) |
branch: externals/corfu
commit 633ecfb003edce15248448bbab4889b5a7721e7f
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Update readme
---
README.org | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/README.org b/README.org
index 5e08230138..2eb4e6185e 100644
--- a/README.org
+++ b/README.org
@@ -226,13 +226,14 @@ enable Corfu completion for commands like ~M-:~
(~eval-expression~) or ~M-!~
effect.
#+begin_src emacs-lisp
- (defun corfu-enable-in-minibuffer ()
- "Enable Corfu in the minibuffer if `completion-at-point' is bound."
- (when (where-is-internal #'completion-at-point (list (current-local-map)))
- ;; (setq-local corfu-auto nil) ;; Enable/disable auto completion
- (setq-local corfu-echo-delay nil) ;; Disable echo
- (corfu-mode 1)))
- (add-hook 'minibuffer-setup-hook #'corfu-enable-in-minibuffer)
+ (defun corfu-enable-in-minibuffer ()
+ "Enable Corfu in the minibuffer if `completion-at-point' is bound."
+ (when (where-is-internal #'completion-at-point (list
(current-local-map)))
+ ;; (setq-local corfu-auto nil) ;; Enable/disable auto completion
+ (setq-local corfu-echo-delay nil ;; Disable automatic echo and popup
+ corfu-popupinfo-delay nil)
+ (corfu-mode 1)))
+ (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
@@ -244,7 +245,9 @@ completion UI, the following snippet should yield the
desired result.
"Enable Corfu in the minibuffer if Vertico/Mct are not active."
(unless (or (bound-and-true-p mct--active)
(bound-and-true-p vertico--input))
- ;; (setq-local corfu-auto nil) Enable/disable auto completion
+ ;; (setq-local corfu-auto nil) ;; Enable/disable auto completion
+ (setq-local corfu-echo-delay nil ;; Disable automatic echo and popup
+ corfu-popupinfo-delay nil)
(corfu-mode 1)))
(add-hook 'minibuffer-setup-hook #'corfu-enable-always-in-minibuffer 1)
#+end_src
- [elpa] externals/corfu updated (971de05df4 -> ec6d21a939), ELPA Syncer, 2022/11/19
- [elpa] externals/corfu ec6d21a939 8/8: corfu-popupinfo: Delay mode hooks for file preview, ELPA Syncer, 2022/11/19
- [elpa] externals/corfu 5b34b26c7e 1/8: Update changelog, ELPA Syncer, 2022/11/19
- [elpa] externals/corfu 7739f8e39a 3/8: corfu-popupinfo: Indentation, ELPA Syncer, 2022/11/19
- [elpa] externals/corfu 01ddb3b13e 6/8: Version 0.31, ELPA Syncer, 2022/11/19
- [elpa] externals/corfu e23a750231 7/8: corfu-popupinfo--get-location: Kill new buffers, ELPA Syncer, 2022/11/19
- [elpa] externals/corfu c735db62c2 4/8: README: Add more screenshots, ELPA Syncer, 2022/11/19
- [elpa] externals/corfu 352d719a1f 5/8: Expand docstrings, ELPA Syncer, 2022/11/19
- [elpa] externals/corfu 633ecfb003 2/8: Update readme,
ELPA Syncer <=