]> git.eshelyaron.com Git - emacs.git/commitdiff
Adjust previous diff-changed-unspecified change
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 13 Aug 2021 13:37:21 +0000 (15:37 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 13 Aug 2021 13:37:21 +0000 (15:37 +0200)
* lisp/vc/diff-mode.el (diff-changed-unspecified): Adjust the
definition to Emacs 28 (bug#26969).

lisp/vc/diff-mode.el

index 1d838e66281bd484726e8a14768fee6d19eb6636..bb1c46c070a02f10421aeca3af616c2141ea154e 100644 (file)
@@ -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")