Permalink
Browse files

Load projectile correctly in emacs-lisp-mode

  • Loading branch information...
1 parent 17d9135 commit a8c170258178479d3616a2a9d71ddc952c11a030 @bartvandendriessche committed Feb 20, 2014
Showing with 2 additions and 3 deletions.
  1. +2 −3 settings/settings-lisp.el
@@ -4,8 +4,7 @@
(:name elisp-slime-nav
:after (progn
(add-hook 'emacs-lisp-mode-hook 'elisp-slime-nav-mode))))))
- (when (require 'projectile nil 'noerror)
- (add-hook 'lisp-mode-hook 'projectile-mode)
- (add-hook 'emacs-lisp-mode-hook 'projectile-mode)))
+
+ (add-hook 'emacs-lisp-mode-hook 'projectile-on))
(provide 'settings-lisp)

0 comments on commit a8c1702

Please sign in to comment.