summaryrefslogtreecommitdiff
path: root/lisp/vc/diff-mode.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-08-13 15:37:21 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-08-13 15:37:21 +0200
commite30c7f314b67656c9a946b7a6bc045c5f76814d6 (patch)
treecc99631f596b49565e9e9acbea4688ae53cdd0a6 /lisp/vc/diff-mode.el
parent4d51c2c472963d6330925c06d59f16de370c6474 (diff)
downloademacs-e30c7f314b67656c9a946b7a6bc045c5f76814d6.tar.gz
emacs-e30c7f314b67656c9a946b7a6bc045c5f76814d6.tar.bz2
emacs-e30c7f314b67656c9a946b7a6bc045c5f76814d6.zip
Adjust previous diff-changed-unspecified change
* lisp/vc/diff-mode.el (diff-changed-unspecified): Adjust the definition to Emacs 28 (bug#26969).
Diffstat (limited to 'lisp/vc/diff-mode.el')
-rw-r--r--lisp/vc/diff-mode.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el
index 1d838e66281..bb1c46c070a 100644
--- a/lisp/vc/diff-mode.el
+++ b/lisp/vc/diff-mode.el
@@ -358,12 +358,14 @@ well."
"`diff-mode' face used to highlight added lines.")
(defface diff-changed-unspecified
- '((((class color) (min-colors 88) (background light))
- :background "grey90")
+ '((default
+ :inherit diff-changed)
+ (((class color) (min-colors 88) (background light))
+ :background "grey90" :extend t)
(((class color) (min-colors 88) (background dark))
- :background "grey20")
+ :background "grey20" :extend t)
(((class color))
- :foreground "grey"))
+ :foreground "grey" :extend t))
"`diff-mode' face used to highlight changed lines."
:version "28.1")