Skip to content

Commit

Permalink
Remove projectile-on
Browse files Browse the repository at this point in the history
Using projectile-mode directly should yield the same result.
  • Loading branch information
Bozhidar Batsov committed Aug 11, 2014
1 parent c8ed425 commit 0e68702
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions projectile.el
Original file line number Diff line number Diff line change
Expand Up @@ -2235,16 +2235,10 @@ Otherwise behave as if called interactively.
(remove-hook 'find-file-hook 'projectile-visit-project-tags-table t)
(ad-deactivate 'compilation-find-file))))

(defun projectile-on ()
"Enable Projectile minor mode.
Used by `projectile-global-mode.'"
(projectile-mode 1))

;;;###autoload
(define-globalized-minor-mode projectile-global-mode
projectile-mode
projectile-on)
projectile-mode)

(provide 'projectile)

Expand Down

0 comments on commit 0e68702

Please sign in to comment.