mirror of
https://github.com/correl/doom-modeline.git
synced 2024-12-24 03:00:09 +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
|
||||
(concat " " doom-modeline-env-version))
|
||||
(and (featurep 'face-remap)
|
||||
(> text-scale-mode-amount 0)
|
||||
(/= text-scale-mode-amount 0)
|
||||
(format " (%+d)" text-scale-mode-amount)))
|
||||
'face (if (doom-modeline--active) 'doom-modeline-buffer-major-mode)))
|
||||
|
|
Loading…
Reference in a new issue