]> git.eshelyaron.com Git - emacs.git/commit
Display a warning for some uses of nil in face attributes.
authorGregory Heytings <gregory@heytings.org>
Fri, 2 Sep 2022 20:27:59 +0000 (20:27 +0000)
committerGregory Heytings <gregory@heytings.org>
Fri, 2 Sep 2022 20:30:25 +0000 (22:30 +0200)
commitd0a66f3e0e668d8c12c54436740c62f8e238a664
tree7c30003131e8416b2c33154e2d62712c75de29eb
parentc12838c73ef161850a081f9ccea6e375b7c2f93b
Display a warning for some uses of nil in face attributes.

* src/xfaces.c (HANDLE_INVALID_NIL_VALUE): New macro, which displays
a warning for invalid uses of nil as a face attribute value.
(Finternal_set_lisp_face_attribute): Use the macro for the attributes
:foreground, :distant-foreground and :background.
src/xfaces.c