diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2019-12-10 02:11:15 +0200 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2019-12-10 02:16:44 +0200 |
commit | 58fb4c3e68a4a42ad491d0fa2c084e5c39942e2b (patch) | |
tree | efe7a9e6a1b8f76cee65ecd59eb00d9d1e0d1838 /etc/themes/dichromacy-theme.el | |
parent | d8d537e17349c02d981eabd92c78f60f73354798 (diff) | |
download | emacs-58fb4c3e68a4a42ad491d0fa2c084e5c39942e2b.tar.gz emacs-58fb4c3e68a4a42ad491d0fa2c084e5c39942e2b.tar.bz2 emacs-58fb4c3e68a4a42ad491d0fa2c084e5c39942e2b.zip |
Make ':extend' inherited from default spec unless overridden
* lisp/faces.el (face-spec-recalc): Handle the :extend attribute
specially and always inherit it from the default spec unless
overwritten in a theme (bug#37774).
* test/lisp/faces-tests.el (faces--test-data-dir): New variable.
(faces--test-extend-with-themes): Use test themes instead of ones
from etc/themes. Update expected values.
* test/data/themes/faces-test-dark-theme.el: New file.
* test/data/themes/faces-test-light-theme.el: New file.
* doc/lispref/display.texi (Face Attributes):
Update the description of ':extend'.
* etc/NEWS: Update the entry for ':extend'.
* etc/themes/adwaita-theme.el:
* etc/themes/deeper-blue-theme.el:
* etc/themes/dichromacy-theme.el:
* etc/themes/leuven-theme.el:
* etc/themes/light-blue-theme.el:
* etc/themes/manoj-dark-theme.el:
* etc/themes/misterioso-theme.el:
* etc/themes/tango-dark-theme.el:
* etc/themes/tango-theme.el:
* etc/themes/tsdh-dark-theme.el:
* etc/themes/tsdh-light-theme.el:
* etc/themes/wheatgrass-theme.el:
* etc/themes/wombat-theme.el: Remove the now-redundant ':extend'
attribute in all the themes.
Diffstat (limited to 'etc/themes/dichromacy-theme.el')
-rw-r--r-- | etc/themes/dichromacy-theme.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/themes/dichromacy-theme.el b/etc/themes/dichromacy-theme.el index d585752ea4c..b361fe5c509 100644 --- a/etc/themes/dichromacy-theme.el +++ b/etc/themes/dichromacy-theme.el @@ -46,8 +46,8 @@ Ansi-Color faces are included.") ;; Highlighting faces `(fringe ((,class (:background "#f7f7f7")))) `(highlight ((,class (:foreground ,blue :background "#e5e5e5")))) - `(region ((,class (:foreground unspecified :background ,yellow :extend t)))) - `(secondary-selection ((,class (:background "#e5e5e5" :extend t)))) + `(region ((,class (:foreground unspecified :background ,yellow)))) + `(secondary-selection ((,class (:background "#e5e5e5")))) `(isearch ((,class (:foreground "white" :background ,vermillion)))) `(lazy-highlight ((,class (:foreground "white" :background ,redpurple)))) `(trailing-whitespace ((,class (:background ,vermillion)))) |