diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 355fa01..e34aeb5 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -677,7 +677,10 @@ To start off, first I need to enable lexical binding. '(:eval (if (file-remote-p default-directory) " P" - (format " P[%s]" (projectile-project-name)))))) + (let ((name (projectile-project-name))) + (if (string= "-" name) + "" + (format " P[%s]" name))))))) #+END_SRC Store projectile files in my data dir.