Fix modeline duplication in buffer-file-name :help-echo
This commit is contained in:
parent
3b9e67746d
commit
eac0adff8a
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ active."
|
||||||
(and (active)
|
(and (active)
|
||||||
'doom-modeline-buffer-file))))
|
'doom-modeline-buffer-file))))
|
||||||
(when face `(:inherit ,face))))))
|
(when face `(:inherit ,face))))))
|
||||||
'help-echo (+doom-modeline--buffer-file-name nil)))
|
'help-echo buffer-file-truename))
|
||||||
|
|
||||||
(defun +doom-modeline--buffer-file-name-truncate (&optional truncate-tail)
|
(defun +doom-modeline--buffer-file-name-truncate (&optional truncate-tail)
|
||||||
"Propertized `buffer-file-name' that truncates every dir along path.
|
"Propertized `buffer-file-name' that truncates every dir along path.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue