[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/corfu 921dd7c97e 2/2: README: Use :config block
From: |
ELPA Syncer |
Subject: |
[elpa] externals/corfu 921dd7c97e 2/2: README: Use :config block |
Date: |
Sun, 18 Aug 2024 06:57:52 -0400 (EDT) |
branch: externals/corfu
commit 921dd7c97ec41fe8ef81dd5f5a08b0f717586c86
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
README: Use :config block
---
README.org | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.org b/README.org
index dd93cb27ca..9f838a4b1f 100644
--- a/README.org
+++ b/README.org
@@ -407,7 +407,9 @@ modes using a menu-item filter.
(corfu-preselect 'directory) ;; Select the first candidate, except for
directories
:init
+ (global-corfu-mode)
+ :config
;; Free the RET key for less intrusive behavior.
;; Option 1: Unbind RET completely
;; (keymap-unset corfu-map "RET")
@@ -415,9 +417,7 @@ modes using a menu-item filter.
(keymap-set corfu-map "RET" `( menu-item "" nil :filter
,(lambda (&optional _)
(and (derived-mode-p 'eshell-mode
'comint-mode)
- #'corfu-send))))
-
- (global-corfu-mode))
+ #'corfu-send)))))
#+end_src
** TAB-and-Go completion