]> git.eshelyaron.com Git - emacs.git/commit
Improve resetting face attributes when looking for suitable fonts
authorEli Zaretskii <eliz@gnu.org>
Tue, 13 Dec 2022 15:35:17 +0000 (17:35 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 13 Dec 2022 15:35:17 +0000 (17:35 +0200)
commit4ef8b9f5441cce75c53579317220b763ce83e3b9
tree24778b853b2ed6ff3d209eee360ac8ef2908be86
parentc4b8bc90a8ed350000e2bc50f56513c7bdb539e1
Improve resetting face attributes when looking for suitable fonts

* src/xfaces.c (syms_of_xfaces)<face-font-lax-matched-attributes>:
Change the default value to t.  Update doc string.
(realize_gui_face): When 'Vface_font_lax_matched_attributes' is t,
reset the 3 default font attributes efficiently.  Call
'font_maybe_unset_attribute' only if the value is neither nil nor
t.  (Bug#59347)
src/xfaces.c