Fix bug with define-prefix-command (2)
This commit is contained in:
parent
ac9c96fb1a
commit
018c5c0908
|
@ -30,7 +30,7 @@ LONG-NAME if given is stored in `spacemacs/prefix-titles'."
|
|||
full-prefix (cons name long-name))
|
||||
(unless (lookup-key evil-leader--default-map prefix)
|
||||
(define-prefix-command (intern command))
|
||||
(evil-leader/set-key prefix command)
|
||||
(evil-leader/set-key prefix (intern command))
|
||||
(push (cons full-prefix-lst long-name) spacemacs/prefix-titles)
|
||||
(push (cons full-prefix-emacs-lst long-name) spacemacs/prefix-titles)))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue