Change doom-project-p to return a boolean
This commit is contained in:
parent
f28a89f701
commit
dce496e246
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ If NOCACHE, don't fetch a cached answer."
|
||||||
(if nocache
|
(if nocache
|
||||||
(without-project-cache! (doom-project-p nil))
|
(without-project-cache! (doom-project-p nil))
|
||||||
(let ((projectile-require-project-root t))
|
(let ((projectile-require-project-root t))
|
||||||
(projectile-project-p))))
|
(and (projectile-project-p) t))))
|
||||||
|
|
||||||
(defun doom-project-name (&optional nocache)
|
(defun doom-project-name (&optional nocache)
|
||||||
"Return the name of the current project.
|
"Return the name of the current project.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue