summary refs log tree commit diff stats
path: root/lisp/+modeline.el
diff options
context:
space:
mode:
authorCase Duckworth2022-05-23 20:12:53 -0500
committerCase Duckworth2022-05-23 20:12:59 -0500
commitdd3afe747ecf51f87d33318c2ad68953d153495f (patch)
treec364d2c59741f68bb3f51e8a28f84a2a9712fd37 /lisp/+modeline.el
parentAdd timers (diff)
downloademacs-dd3afe747ecf51f87d33318c2ad68953d153495f.tar.gz
emacs-dd3afe747ecf51f87d33318c2ad68953d153495f.zip
meh
Diffstat (limited to 'lisp/+modeline.el')
-rw-r--r--lisp/+modeline.el6
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."