Skip to content

Commit

Permalink
Activate evil-leader after evil-local-mode init.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Markert <markert.michael@googlemail.com>
  • Loading branch information
cofi committed Jul 30, 2013
1 parent 40fcd48 commit b75248c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evil-leader.el
Expand Up @@ -114,8 +114,8 @@ The combination has to be readable by `read-kbd-macro'."
"Global minor mode for <leader> support."
nil nil nil
(if global-evil-leader-mode
(add-hook 'evil-local-mode-hook #'evil-leader-mode)
(remove-hook 'evil-local-mode-hook #'evil-leader-mode)))
(add-hook 'evil-local-mode-hook #'evil-leader-mode t)
(remove-hook 'evil-local-mode-hook #'evil-leader-mode t)))

;;;###autoload
(define-minor-mode evil-leader-mode
Expand Down

0 comments on commit b75248c

Please sign in to comment.