7

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?

Cœur
  • 37,241
  • 25
  • 195
  • 267
Geo
  • 93,257
  • 117
  • 344
  • 520

1 Answers1

10

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.

phils
  • 71,335
  • 11
  • 153
  • 198