From f8239e7f320d3e8d63a75e6513eb478f718c9e0d Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Fri, 28 Dec 2018 16:07:53 +0800 Subject: [PATCH] Optimize displaying of github notifications. --- doom-modeline.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doom-modeline.el b/doom-modeline.el index 033139b..e17f151 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -1599,8 +1599,9 @@ mouse-3: Describe current input method") :v-adjust -0.0575 :face 'doom-modeline-warning) (if doom-modeline-icon doom-modeline-vspc " ") - (propertize (format "%s " doom-modeline--github-notifications-number) - 'face 'doom-modeline-warning)) + (propertize (number-to-string doom-modeline--github-notifications-number) + 'face 'doom-modeline-warning) + " ") 'help-echo "Github mouse-1: Show notifications mouse-3: Fetch notifications"