Skip to content

Commit

Permalink
Fix bug with define-prefix-command (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBB committed Sep 16, 2015
1 parent ac9c96f commit 018c5c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/core-keybindings.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)))))

Expand Down

0 comments on commit 018c5c0

Please sign in to comment.