aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r--emacs/.emacs.d/init.org5
1 files changed, 4 insertions, 1 deletions
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.