Reputation: 96957
I would like to add a hook, so that each time I open a new file, projectile is enabled. However, I don't know where to add it so that emacs will read it. Any hints?
Upvotes: 7
Views: 2449
Reputation: 73345
This must surely be in Prelude's documentation? If not, I suggest you write to the author to suggest that it be added.
I note the following in its init.el
file:
(defvar prelude-personal-dir (concat prelude-dir "personal/")
"Users of Emacs Prelude are encouraged to keep their personal configuration
changes in this directory. All Emacs Lisp files there are loaded automatically
by Prelude.")
Therefore you should create a personal
sub-directory if it doesn't already exist, and create any *.el
filename you like in that directory, for your own customisations.
Upvotes: 10