]> git.eshelyaron.com Git - emacs.git/commit
Fix face merging when some have :extend non-nil and some are inherited
authorEli Zaretskii <eliz@gnu.org>
Mon, 25 Nov 2019 15:52:24 +0000 (17:52 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 25 Nov 2019 15:52:24 +0000 (17:52 +0200)
commit19aecd340b7b3ab54629b790ba70a90130bad63d
treec323d0ef86896e8f660250c7d88ec61c1d0c30f1
parent2d12d4d2d467f5df81e232707ad9191264b7c2b0
Fix face merging when some have :extend non-nil and some are inherited

* src/xfaces.c (face_inherited_attr): New function.
(merge_named_face): Call 'face_inherited_attr' when testing
whether a face that inherits from another fits the filtering
criteria specified by ATTR_FILTER.
(merge_face_vectors): Revert the changes made in this function
for filtering by ATTR_FILTER, and remove that argument as
well.  These tests are now completely done by the caller, see
'merge_named_face'.  (Bug#37774)
src/xfaces.c