diff --git a/doom-modeline.el b/doom-modeline.el index 1b460a5..c2651e2 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -559,7 +559,7 @@ Example: (let ((project-props `(,@(if project-faces `(:inherit ,project-faces)) ,@(if active '(:weight bold)))) (relative-props `(,@(if relative-faces `(:inherit ,relative-faces)))) (file-props `(,@(if file-faces `(:inherit ,file-faces))))) - (concat (propertize (file-name-nondirectory (directory-file-name (doom-modeline-project-root))) + (concat (propertize (file-name-nondirectory (directory-file-name project-root)) 'face project-props) (propertize (if (string-equal relative-path "./") "/"