mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Fix warnings.
This commit is contained in:
parent
b2c187ea66
commit
1b32790cba
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ active.")
|
||||||
'face (if file-faces `(:inherit ,file-faces)))))))))
|
'face (if file-faces `(:inherit ,file-faces)))))))))
|
||||||
|
|
||||||
(defun doom-modeline--buffer-file-name-relative (&optional include-project)
|
(defun doom-modeline--buffer-file-name-relative (&optional include-project)
|
||||||
"Propertized variable `buffer-file-name' showing directories relative to `INCLUDE-PROJECT' root only."
|
"Propertized variable `buffer-file-name' showing directories relative to INCLUDE-PROJECT root only."
|
||||||
(let ((root (doom-modeline-project-root))
|
(let ((root (doom-modeline-project-root))
|
||||||
(active (doom-modeline--active)))
|
(active (doom-modeline--active)))
|
||||||
(if (null root)
|
(if (null root)
|
||||||
|
|
Loading…
Reference in a new issue