Permalink
Browse files

Hook projectile-mode to lisp-mode and emacs-lisp-mode

  • Loading branch information...
1 parent 9a6731c commit 79ca759224ae4a7fbb7b3a3e2271ef547db0cd40 @bartvandendriessche committed Feb 19, 2014
Showing with 4 additions and 1 deletion.
  1. +4 −1 settings/settings-lisp.el
@@ -3,6 +3,9 @@
'((:name auto-complete-emacs-lisp)
(: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)))
(provide 'settings-lisp)

0 comments on commit 79ca759

Please sign in to comment.