From 018c5c0908dfb23700baae817d91333f26a1e172 Mon Sep 17 00:00:00 2001 From: Eivind Fonn Date: Wed, 16 Sep 2015 16:40:39 +0200 Subject: [PATCH] Fix bug with define-prefix-command (2) --- core/core-keybindings.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-keybindings.el b/core/core-keybindings.el index 486b78920..426946261 100644 --- a/core/core-keybindings.el +++ b/core/core-keybindings.el @@ -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)))))