From a4cd5fafd8d2edb774993839bad01efba5f49e33 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 3 Jan 2019 02:26:11 -0500 Subject: [PATCH] Don't unbind keys when passed a label to :prefix Fixes an issue where (map! :leader :prefix ("f" . "asdasdas") ...) Would unbind SPC f before adding your new keybinds. --- core/core-keybinds.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-keybinds.el b/core/core-keybinds.el index 112275842..082971d79 100644 --- a/core/core-keybinds.el +++ b/core/core-keybinds.el @@ -250,7 +250,7 @@ For example, :nvi will map to (list 'normal 'visual 'insert). See ((setq def (cons 'list (if (and (equal key "") (null def)) - `(nil :which-key ,desc) + `(:ignore t :which-key ,desc) (plist-put (general--normalize-extended-def def) :which-key desc)))))))) (dolist (state states)