mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Optimize project root detection.
This commit is contained in:
parent
24dd81d9d5
commit
6d7241050b
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ active.")
|
||||||
"Get the path to the root of your project.
|
"Get the path to the root of your project.
|
||||||
|
|
||||||
Return `default-directory' if no project was found."
|
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
|
doom-modeline-project-root
|
||||||
(setq doom-modeline-project-root
|
(setq doom-modeline-project-root
|
||||||
(or
|
(or
|
||||||
|
|
Loading…
Reference in a new issue