From dd3afe747ecf51f87d33318c2ad68953d153495f Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 23 May 2022 20:12:53 -0500 Subject: meh --- lisp/+modeline.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lisp/+modeline.el') diff --git a/lisp/+modeline.el b/lisp/+modeline.el index 86dbad4..2c9bbee 100644 --- a/lisp/+modeline.el +++ b/lisp/+modeline.el @@ -393,9 +393,9 @@ to a function in the current buffer, call that function instead." ;; adapted from https://github.com/seagle0128/doom-modeline (when (and (boundp 'text-scale-mode-amount) (/= text-scale-mode-amount 0)) - (format (if (> text-scale-mode-amount 0) "%s(%+d)" "%s(%-d)") - (or spacer +modeline-default-spacer) - text-scale-mode-amount))) + (+modeline-spacer nil spacer + (concat (if (> text-scale-mode-amount 0) "+" "-") + (number-to-string text-scale-mode-amount))))) (defun +modeline-ace-window-display (&optional spacer) "Display `ace-window-display-mode' information in the modeline." -- cgit 1.4.1-21-gabe81