Optimize: debug state.

This commit is contained in:
Vincent Zhang 2018-12-21 18:53:17 +08:00
parent 7158b9d975
commit df41de323d

View file

@ -1589,6 +1589,7 @@ mouse-3: Describe current input method")
"The current debug state." "The current debug state."
(when (doom-modeline--active) (when (doom-modeline--active)
(concat (concat
(and (or debug-on-error debug-on-quit) " ")
(when debug-on-error (when debug-on-error
(propertize (propertize
(if doom-modeline-icon (if doom-modeline-icon