diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 82dd919..ef12a1f 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -628,6 +628,16 @@ To start off, first I need to enable lexical binding. Projectile is, thus far, the best project module for Emacs. + Set the known projects file before loading projectile because + projectile loads the known projects as it's loading, not after. + + #+BEGIN_SRC emacs-lisp + (setq projectile-known-projects-file + (oni:data-location "projectile-bookmarks.eld")) + #+END_SRC + + Since I'm just going to use it anyway, require it immediately. + #+BEGIN_SRC emacs-lisp (require 'projectile) #+END_SRC @@ -650,8 +660,6 @@ To start off, first I need to enable lexical binding. Store projectile files in my data dir. #+BEGIN_SRC emacs-lisp - (setq projectile-known-projects-file - (oni:data-location "projectile-bookmarks.eld")) (setq projectile-cache-file (oni:data-location "projectile.cache")) #+END_SRC