From 7d8ec424c830ae79d51b620f599ede9708277b74 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Mon, 1 Jul 2019 18:00:41 +0800 Subject: [PATCH] Change doom-modeline--font-height to function. See @187. --- doom-modeline-core.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doom-modeline-core.el b/doom-modeline-core.el index 442e62b..4697927 100644 --- a/doom-modeline-core.el +++ b/doom-modeline-core.el @@ -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))))