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.
This commit is contained in:
parent
fec0cb6b32
commit
a4cd5fafd8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue