Fix bug with define-prefix-command (2)

This commit is contained in:
Eivind Fonn 2015-09-16 16:40:39 +02:00
parent ac9c96fb1a
commit 018c5c0908
1 changed files with 1 additions and 1 deletions

View File

@ -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)))))