Fix invalid icon family.

This commit is contained in:
Vincent Zhang 2018-11-25 03:06:34 +08:00
parent 336cab5ed4
commit 613684d383

View file

@ -680,8 +680,8 @@ buffer where knowing the current project directory is important."
(propertize icon
'help-echo (format "Major-mode: `%s'" major-mode)
'display '(raise 0)
'face '(:height 1.1
:family (all-the-icons-icon-family-for-mode major-mode)
'face `(:height 1.1
:family ,(all-the-icons-icon-family-for-mode major-mode)
:inherit))
" ")))))
(add-hook 'find-file-hook 'doom-modeline-update-buffer-file-icon)