From 6d7241050b2d9e3df4ea0cf089e305f105e5e40e Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Tue, 13 Nov 2018 19:22:14 +0800 Subject: [PATCH] Optimize project root detection. --- doom-modeline.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doom-modeline.el b/doom-modeline.el index 2ce4071..b5bc3bc 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -332,7 +332,7 @@ active.") "Get the path to the root of your project. Return `default-directory' if no project was found." - (if (local-variable-p 'doom-modeline-project-root) + (if doom-modeline-project-root doom-modeline-project-root (setq doom-modeline-project-root (or