examples: emacs: Set emacs-corfu keymap via use-package keyword ‘:bind’.

* modules/rosenthal/examples/emacs/init-interface.el (corfu): Move keymap
setup to ‘:bind’.
This commit is contained in:
Hilton Chain 2026-02-16 15:19:32 +08:00
parent ec978c44fa
commit 3a4e97642b
No known key found for this signature in database
GPG Key ID: ACC66D09CA528292

View File

@ -43,11 +43,12 @@
;; Auto-completion. ;; Auto-completion.
(corfu-auto t) (corfu-auto t)
(corfu-auto-delay 0.3) (corfu-auto-delay 0.3)
:config
;; Free the `RET' key for less intrusive behavior.
(keymap-unset corfu-map "RET")
:hook :hook
(after-init . global-corfu-mode)) (after-init . global-corfu-mode)
:bind
;; Free the `RET' key for less intrusive behavior.
(:map corfu-map
("RET" . nil)))
(use-package doom-modeline (use-package doom-modeline
:custom :custom