From dce496e246a51153f5c88341a5c38275eed8b55c Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 6 Feb 2018 17:30:38 -0500 Subject: [PATCH] Change doom-project-p to return a boolean --- core/core-projects.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-projects.el b/core/core-projects.el index e598c241c..3f2bec85c 100644 --- a/core/core-projects.el +++ b/core/core-projects.el @@ -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.