[Compatibility] % symbol not displayed in global string.

Fix #121.
This commit is contained in:
Vincent Zhang 2019-02-25 23:38:45 +07:00
parent 6f189b37bd
commit 40564fc281

View file

@ -1228,7 +1228,10 @@ mouse-2: Show help for minor mode"
"Mode line construct for miscellaneous information.
By default, this shows the information specified by `global-mode-string'."
(if (doom-modeline--active)
'("" mode-line-misc-info)))
(replace-regexp-in-string (regexp-quote "%")
"%%%%"
(format-mode-line mode-line-misc-info)
t t)))
;;