Refine use of vc-dir faces; apply to all backends
* lisp/vc/vc-dir.el (vc-default-dir-printer): Add check for the "ignored" status and make 'vc-dir-status-edited' the default face. Also extend condition for more states that qualify as "warnings". (vc-dir-ignored, vc-dir-status-ignored): Rename face for consistency. * lisp/vc/vc-git.el (vc-git-dir-printer): Use the 'vc-dir-status-edited' as the default for the Git backend. And reference the renamed face. Also stop treating the empty stash differently from other header values. * lisp/vc/vc-bzr.el (vc-bzr-dir-extra-headers): Implement new faces. * lisp/vc/vc-cvs.el (vc-cvs-dir-extra-headers): Same. * lisp/vc/vc-hg.el (vc-hg-dir-extra-headers): Same. * lisp/vc/vc-svn.el (vc-svn-dir-extra-headers): Same. This follows from the discussion in bug#46358.
This commit is contained in:
parent
bff9bd0d3a
commit
ff16c897ea
6 changed files with 35 additions and 32 deletions
|
@ -239,8 +239,8 @@ RESULT is a list of conses (FILE . STATE) for directory DIR."
|
|||
(concat
|
||||
(cond (repo
|
||||
(concat
|
||||
(propertize "Repository : " 'face 'font-lock-type-face)
|
||||
(propertize repo 'face 'font-lock-variable-name-face)))
|
||||
(propertize "Repository : " 'face 'vc-dir-header)
|
||||
(propertize repo 'face 'vc-dir-header-value)))
|
||||
(t "")))))
|
||||
|
||||
(defun vc-svn-working-revision (file)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue