From 3a4e97642b3b4f0cddef0feecba18b5a2fe08953 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Mon, 16 Feb 2026 15:19:32 +0800 Subject: [PATCH] =?UTF-8?q?examples:=20emacs:=20Set=20emacs-corfu=20keymap?= =?UTF-8?q?=20via=20use-package=20keyword=20=E2=80=98:bind=E2=80=99.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * modules/rosenthal/examples/emacs/init-interface.el (corfu): Move keymap setup to ‘:bind’. --- modules/rosenthal/examples/emacs/init-interface.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/rosenthal/examples/emacs/init-interface.el b/modules/rosenthal/examples/emacs/init-interface.el index eb05e77..b518196 100644 --- a/modules/rosenthal/examples/emacs/init-interface.el +++ b/modules/rosenthal/examples/emacs/init-interface.el @@ -43,11 +43,12 @@ ;; Auto-completion. (corfu-auto t) (corfu-auto-delay 0.3) - :config - ;; Free the `RET' key for less intrusive behavior. - (keymap-unset corfu-map "RET") :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 :custom