GNU bug report logs - #57499
Documentation bug in the docstring of set-face-attribute?

Previous Next

Package: emacs;

Reported by: Gregory Heytings <gregory <at> heytings.org>

Date: Wed, 31 Aug 2022 08:15:02 UTC

Severity: minor

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gregory Heytings <gregory <at> heytings.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 57499-done <at> debbugs.gnu.org
Subject: bug#57499: Documentation bug in the docstring of set-face-attribute?
Date: Thu, 01 Sep 2022 13:15:42 +0000
[Message part 1 (text/plain, inline)]
>> Would a warning in *Messages* be okay then?
>
> We could try that, yes.  But it has to be only in *Messages*, not an 
> actual warning, since faces get merged and realized as part of 
> redisplay, when signaling an error is a bad idea.
>

Like this?  I just checked, it passes make bootstrap and make check.
[Display-a-warning-when-using-nil-as-a-face-attribute.patch (text/x-diff, attachment)]

This bug report was last modified 2 years and 289 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.