diff options
Diffstat (limited to 'lisp/+modeline.el')
-rw-r--r-- | lisp/+modeline.el | 6 |
1 files changed, 3 insertions, 3 deletions
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." | |||
393 | ;; adapted from https://github.com/seagle0128/doom-modeline | 393 | ;; adapted from https://github.com/seagle0128/doom-modeline |
394 | (when (and (boundp 'text-scale-mode-amount) | 394 | (when (and (boundp 'text-scale-mode-amount) |
395 | (/= text-scale-mode-amount 0)) | 395 | (/= text-scale-mode-amount 0)) |
396 | (format (if (> text-scale-mode-amount 0) "%s(%+d)" "%s(%-d)") | 396 | (+modeline-spacer nil spacer |
397 | (or spacer +modeline-default-spacer) | 397 | (concat (if (> text-scale-mode-amount 0) "+" "-") |
398 | text-scale-mode-amount))) | 398 | (number-to-string text-scale-mode-amount))))) |
399 | 399 | ||
400 | (defun +modeline-ace-window-display (&optional spacer) | 400 | (defun +modeline-ace-window-display (&optional spacer) |
401 | "Display `ace-window-display-mode' information in the modeline." | 401 | "Display `ace-window-display-mode' information in the modeline." |