summaryrefslogtreecommitdiff
path: root/lisp/vc/diff-mode.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2019-11-30 13:27:11 +0200
committerEli Zaretskii <eliz@gnu.org>2019-11-30 13:27:11 +0200
commit64687872f62e7837340b77697d4ccd4f60caaae0 (patch)
treebf42f6eef4ea64420edba2395ae77914c69a82fd /lisp/vc/diff-mode.el
parentabd3dd3a467fd93ac66db1a13b31787d88a95d55 (diff)
downloademacs-64687872f62e7837340b77697d4ccd4f60caaae0.tar.gz
Add ':extend' attribute to faces and themes
* etc/themes/wombat-theme.el: * etc/themes/wheatgrass-theme.el: * etc/themes/tsdh-light-theme.el: * etc/themes/tsdh-dark-theme.el: * etc/themes/tango-theme.el: * etc/themes/tango-dark-theme.el: * etc/themes/misterioso-theme.el: * etc/themes/manoj-dark-theme.el: * etc/themes/light-blue-theme.el: * etc/themes/leuven-theme.el: * etc/themes/dichromacy-theme.el: * etc/themes/deeper-blue-theme.el: * etc/themes/adwaita-theme.el: Add ':extend' attribute to all faces that are by default defined with it. * lisp/vc/smerge-mode.el (smerge-upper, smerge-lower) (smerge-base): * lisp/vc/log-view.el (log-view-file, log-view-message): * lisp/vc/ediff-init.el (ediff-current-diff-A) (ediff-current-diff-B, ediff-current-diff-C) (ediff-current-diff-Ancestor, ediff-even-diff-A) (ediff-even-diff-B, ediff-even-diff-C) (ediff-even-diff-Ancestor, ediff-odd-diff-A) (ediff-odd-diff-B, ediff-odd-diff-C) (ediff-odd-diff-Ancestor): * lisp/vc/diff-mode.el (diff-header, diff-file-header) (diff-removed, diff-added): Make sure all definitions of faces have the same value of the ':extend' property, otherwise customizing background color or underline etc. attributes of these faces on some displays will produce effects different from other displays.
Diffstat (limited to 'lisp/vc/diff-mode.el')
-rw-r--r--lisp/vc/diff-mode.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el
index dfac1cca808..08998fbc776 100644
--- a/lisp/vc/diff-mode.el
+++ b/lisp/vc/diff-mode.el
@@ -302,8 +302,8 @@ well."
(((class color) (min-colors 88) (background dark))
:background "grey45" :extend t)
(((class color))
- :foreground "blue1" :weight bold)
- (t :weight bold))
+ :foreground "blue1" :weight bold :extend t)
+ (t :weight bold :extend t))
"`diff-mode' face inherited by hunk and index header faces.")
(defface diff-file-header
@@ -312,8 +312,8 @@ well."
(((class color) (min-colors 88) (background dark))
:background "grey60" :weight bold :extend t)
(((class color))
- :foreground "cyan" :weight bold)
- (t :weight bold)) ; :height 1.3
+ :foreground "cyan" :weight bold :extend t)
+ (t :weight bold :extend t)) ; :height 1.3
"`diff-mode' face used to highlight file header lines.")
(defface diff-index
@@ -334,7 +334,7 @@ well."
(((class color) (min-colors 88) (background dark))
:background "#553333" :extend t)
(((class color))
- :foreground "red"))
+ :foreground "red" :extend t))
"`diff-mode' face used to highlight removed lines.")
(defface diff-added
@@ -347,7 +347,7 @@ well."
(((class color) (min-colors 88) (background dark))
:background "#335533" :extend t)
(((class color))
- :foreground "green"))
+ :foreground "green" :extend t))
"`diff-mode' face used to highlight added lines.")
(defface diff-changed