summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2021-01-30 15:42:19 +0200
committerDmitry Gutov <dgutov@yandex.ru>2021-01-30 15:42:19 +0200
commit96f20120c97a0a329fff81a0cc3747082a8a2c55 (patch)
treeebb51179bb47e9ee0719409213288dc4ccf9a2d8
parentf7b9b9a85e40555a23ee56d75338a3c4e378e4f5 (diff)
downloademacs-96f20120c97a0a329fff81a0cc3747082a8a2c55.tar.gz
Also highlight 'conflict' with the warning face
* lisp/vc/vc-git.el (vc-git-dir-printer): Also highlight 'conflict' with the warning face, like vc-default-dir-printer does already.
-rw-r--r--lisp/vc/vc-git.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index 94fac3a83b8..d00c2c2133c 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -479,8 +479,8 @@ or an empty string if none."
(propertize
(format "%-12s" state)
'face (cond ((eq state 'up-to-date) 'font-lock-builtin-face)
- ((eq state 'missing) 'font-lock-warning-face)
- (t 'font-lock-variable-name-face))
+ ((eq state '(missing conflict)) 'font-lock-warning-face)
+ (t 'font-lock-variable-name-face))
'mouse-face 'highlight
'keymap vc-dir-status-mouse-map)
" " (vc-git-permissions-as-string old-perm new-perm)