Change doom-project-p to return a boolean

This commit is contained in:
Henrik Lissner 2018-02-06 17:30:38 -05:00
parent f28a89f701
commit dce496e246
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -73,7 +73,7 @@ If NOCACHE, don't fetch a cached answer."
(if nocache
(without-project-cache! (doom-project-p nil))
(let ((projectile-require-project-root t))
(projectile-project-p))))
(and (projectile-project-p) t))))
(defun doom-project-name (&optional nocache)
"Return the name of the current project.