From 5cb7c2ddfb7254b37d29c22e1b8319d317dee63f Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Thu, 28 Mar 2019 23:24:56 +0800 Subject: [PATCH] Change buffer icon for unknown type. --- doom-modeline-segments.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index a04f9da..75dbdba 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -204,7 +204,7 @@ buffer where knowing the current project directory is important." :height height) (doom-modeline-icon-for-mode major-mode :height height)))) (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) (propertize icon 'help-echo (format "Major-mode: %s" (format-mode-line mode-name))