]> git.eshelyaron.com Git - emacs.git/commit
Implement pseudo-value 'reset' of face attrributes
authorEli Zaretskii <eliz@gnu.org>
Sun, 3 Jul 2022 09:30:24 +0000 (12:30 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 3 Jul 2022 09:30:24 +0000 (12:30 +0300)
commit45badeceecab5e5975d2e1700fce819acd34a964
tree8d98c493e4b4b8a59f125a654023a792844e3667
parent94d43f4942feff16a85786bcee67f551ccbbbe40
Implement pseudo-value 'reset' of face attrributes

* doc/lispref/display.texi (Face Attributes):
* etc/NEWS: Document the new pseudo-value 'reset'.

* src/xfaces.c (realize_named_face, lookup_derived_face)
(gui_supports_face_attributes_p, lookup_named_face)
(Finternal_merge_in_global_face, merge_named_face, merge_faces):
Handle the 'reset' pseudo-value of a face's attribute.
(syms_of_xfaces): New symbol 'reset'.
(RESET_P): New macro.
(check_lface_attrs, Finternal_set_lisp_face_attribute): Allow
'reset' as a value of any attribute except ':inherit'.
(Bug#38771)
doc/lispref/display.texi
etc/NEWS
src/xfaces.c