Fix #50: Misplaced major mode icon.

This commit is contained in:
Vincent Zhang 2018-11-25 03:21:46 +08:00
parent 613684d383
commit 87f12fa662

View file

@ -679,7 +679,7 @@ buffer where knowing the current project directory is important."
(concat (concat
(propertize icon (propertize icon
'help-echo (format "Major-mode: `%s'" major-mode) 'help-echo (format "Major-mode: `%s'" major-mode)
'display '(raise 0) 'display '(raise -0.15)
'face `(:height 1.1 'face `(:height 1.1
:family ,(all-the-icons-icon-family-for-mode major-mode) :family ,(all-the-icons-icon-family-for-mode major-mode)
:inherit)) :inherit))