enable projectile for selected modes only

This commit is contained in:
syl20bnr 2013-02-19 18:11:32 -05:00
parent 158b9ffca7
commit 054edcdafc

View file

@ -1,2 +1,4 @@
(require 'projectile)
(projectile-global-mode)
(dolist (mode '(python ruby))
(add-hook (intern (concat (symbol-name mode) "-mode-hook")) 'projectile-on))