I'm using Projectile, and after seeing the really awesome .emacs file I decided to copy the lines that set the mode-line to display the project name, like so:
:config
(projectile-global-mode 1)
(setq-default ;; <snip>
projectile-mode-line '(:eval (projectile-project-name))))
I've got this included in my init.el and it almost works - the only problem is that the variable projectile-project-name
is nil
, so it doesn't actually show the name of the project (and this is even after I've done C-C p p
and chosen a project.
How is projectile-project-name
set and/or where is that information stored? (Maybe in the .projectile
file?)