Fix #178: "Error during redisplay" when org agenda mode is enabled.

This commit is contained in:
Vincent Zhang 2019-05-29 13:35:55 +08:00
parent 64631d103a
commit f524bbc622
2 changed files with 4 additions and 4 deletions

View file

@ -486,7 +486,7 @@ directory, the file name, and its state (modified, read-only or non-existent)."
(propertize
(concat
(doom-modeline-spc)
(propertize mode-name
(propertize (format-mode-line mode-name)
'help-echo "Major mode\n\
mouse-1: Display major mode menu\n\
mouse-2: Show help for major mode\n\
@ -517,7 +517,7 @@ mouse-3: Toggle minor modes"
(if (doom-modeline--active)
mode-line-process
(propertize
(format-mode-line '("" mode-line-process))
(format-mode-line mode-line-process)
'face 'mode-line-inactive)))
@ -545,7 +545,7 @@ mouse-1: Display minor modes menu"
(concat
(replace-regexp-in-string (regexp-quote "%")
"%%%%"
(format-mode-line '("" minor-mode-alist))
(format-mode-line minor-mode-alist)
t t)
(doom-modeline-spc))
'face (if active

View file

@ -4,7 +4,7 @@
;; Author: Vincent Zhang <seagle0128@gmail.com>
;; Homepage: https://github.com/seagle0128/doom-modeline
;; Version: 2.3.1
;; Version: 2.3.2
;; Package-Requires: ((emacs "25.1") (all-the-icons "1.0.0") (shrink-path "0.2.0") (dash "2.11.0"))
;; Keywords: faces mode-line