mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Fix exception: /0.
This commit is contained in:
parent
58e3362542
commit
703d928c93
1 changed files with 1 additions and 0 deletions
|
@ -531,6 +531,7 @@ directory, the file name, and its state (modified, read-only or non-existent)."
|
||||||
(when doom-modeline-env-version
|
(when doom-modeline-env-version
|
||||||
(concat " " doom-modeline-env-version))
|
(concat " " doom-modeline-env-version))
|
||||||
(and (featurep 'face-remap)
|
(and (featurep 'face-remap)
|
||||||
|
(> text-scale-mode-amount 0)
|
||||||
(/= text-scale-mode-amount 0)
|
(/= text-scale-mode-amount 0)
|
||||||
(format " (%+d)" text-scale-mode-amount)))
|
(format " (%+d)" text-scale-mode-amount)))
|
||||||
'face (if (doom-modeline--active) 'doom-modeline-buffer-major-mode)))
|
'face (if (doom-modeline--active) 'doom-modeline-buffer-major-mode)))
|
||||||
|
|
Loading…
Reference in a new issue