branch: elpa/telephone-line
commit 6e4e1e648b0206c017bee467f3cc6a9ecddaaa76
Author: Ogden Webb <[email protected]>
Commit: GitHub <[email protected]>
Use built-in faces in flycheck-segment.
---
telephone-line-segments.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/telephone-line-segments.el b/telephone-line-segments.el
index 398a30573f..a913e1ed39 100644
--- a/telephone-line-segments.el
+++ b/telephone-line-segments.el
@@ -241,14 +241,14 @@ Inspired by doom-modeline."
(if (or .error .warning)
(propertize (format "Problems: %s/%s"
(or .error 0) (or
.warning 0))
- 'face '(:foreground
"orange"))
+ 'face 'warning))
""))
(propertize ":)" 'face
'telephone-line-unimportant)))
('running "*")
('no-checker (propertize "-" 'face
'telephone-line-unimportant))
('not-checked "=")
- ('errored (propertize "!" 'face '(:foreground
"tomato")))
- ('interrupted (propertize "." 'face '(:foreground
"tomato")))
+ ('errored (propertize "!" 'face 'error))
+ ('interrupted (propertize "." 'face 'error))
('suspicious "?"))))
(propertize text
'help-echo (pcase flycheck-last-status-change