mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 19:19:53 +00:00
Refactor: use internal variables.
This commit is contained in:
parent
669206d03a
commit
345959763b
1 changed files with 1 additions and 1 deletions
|
@ -559,7 +559,7 @@ Example:
|
||||||
(let ((project-props `(,@(if project-faces `(:inherit ,project-faces)) ,@(if active '(:weight bold))))
|
(let ((project-props `(,@(if project-faces `(:inherit ,project-faces)) ,@(if active '(:weight bold))))
|
||||||
(relative-props `(,@(if relative-faces `(:inherit ,relative-faces))))
|
(relative-props `(,@(if relative-faces `(:inherit ,relative-faces))))
|
||||||
(file-props `(,@(if file-faces `(:inherit ,file-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)
|
'face project-props)
|
||||||
(propertize (if (string-equal relative-path "./")
|
(propertize (if (string-equal relative-path "./")
|
||||||
"/"
|
"/"
|
||||||
|
|
Loading…
Reference in a new issue