Change doom-modeline--font-height to function.

See @187.
This commit is contained in:
Vincent Zhang 2019-07-01 18:00:41 +08:00
parent ee4619d367
commit 7d8ec424c8

View file

@ -497,7 +497,7 @@ If the actual char height is larger, it respects the actual char height.")
'mode-line
'mode-line-inactive)))
(defsubst doom-modeline--font-height ()
(defun doom-modeline--font-height ()
"Calculate the actual char height of the mode-line."
(round (* 1.68 (frame-char-height))))