Hide project name when not in a project
This commit is contained in:
parent
ad5ca813da
commit
d2646d4d6d
1 changed files with 4 additions and 1 deletions
|
@ -677,7 +677,10 @@ To start off, first I need to enable lexical binding.
|
||||||
'(:eval
|
'(:eval
|
||||||
(if (file-remote-p default-directory)
|
(if (file-remote-p default-directory)
|
||||||
" P"
|
" P"
|
||||||
(format " P[%s]" (projectile-project-name))))))
|
(let ((name (projectile-project-name)))
|
||||||
|
(if (string= "-" name)
|
||||||
|
""
|
||||||
|
(format " P[%s]" name)))))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
Store projectile files in my data dir.
|
Store projectile files in my data dir.
|
||||||
|
|
Loading…
Reference in a new issue