[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master e30c7f3 1/2: Adjust previous diff-changed-unspecified change
From: |
Lars Ingebrigtsen |
Subject: |
master e30c7f3 1/2: Adjust previous diff-changed-unspecified change |
Date: |
Fri, 13 Aug 2021 09:50:25 -0400 (EDT) |
branch: master
commit e30c7f314b67656c9a946b7a6bc045c5f76814d6
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Adjust previous diff-changed-unspecified change
* lisp/vc/diff-mode.el (diff-changed-unspecified): Adjust the
definition to Emacs 28 (bug#26969).
---
lisp/vc/diff-mode.el | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el
index 1d838e6..bb1c46c 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")