mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 11:09:52 +00:00
Change buffer icon for unknown type.
This commit is contained in:
parent
99a0bd9f12
commit
5cb7c2ddfb
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ buffer where knowing the current project directory is important."
|
||||||
:height height)
|
:height height)
|
||||||
(doom-modeline-icon-for-mode major-mode :height height))))
|
(doom-modeline-icon-for-mode major-mode :height height))))
|
||||||
(if (symbolp icon)
|
(if (symbolp icon)
|
||||||
(setq icon (doom-modeline-icon-for-mode 'fundamental-mode :height height)))
|
(setq icon (doom-modeline-icon-faicon "file" :height height :v-adjust -0.0575)))
|
||||||
(unless (symbolp icon)
|
(unless (symbolp icon)
|
||||||
(propertize icon
|
(propertize icon
|
||||||
'help-echo (format "Major-mode: %s" (format-mode-line mode-name))
|
'help-echo (format "Major-mode: %s" (format-mode-line mode-name))
|
||||||
|
|
Loading…
Reference in a new issue