bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#57499: Documentation bug in the docstring of set-face-attribute?


From: Gregory Heytings
Subject: bug#57499: Documentation bug in the docstring of set-face-attribute?
Date: Thu, 01 Sep 2022 19:35:35 +0000



It isn't deprecated, it's invalid. There's no need to have anything like this in NEWS, because all our documentation says the color attributes can have only string values (in addition to 'unspecified').


Okay (I thought you wanted to retain the "undocumented but not really invalid" use of nil).


Warning: nil value for `%s' is invalid, use 'unspecified instead.


I added the name of the face in the message, which is I think useful to locate the cause of the warning.

Should this go to master or to emacs-28?

Attachment: Display-a-warning-for-some-uses-of-nil-in-face-attri.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]