GNU bug report logs - #57064
describe-face accepts face_name as string

Previous Next

Package: emacs;

Reported by: carlmarcos <at> tutanota.com

Date: Tue, 9 Aug 2022 01:45:02 UTC

Severity: normal

Tags: notabug

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #15 received at 57064 <at> debbugs.gnu.org (full text, mbox):

From: carlmarcos <at> tutanota.com
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 57064 <at> debbugs.gnu.org
Subject: Re: bug#57064: describe-face accepts face_name as string
Date: Tue, 9 Aug 2022 20:41:43 +0200 (CEST)
Aug 9, 2022, 18:30 by larsi <at> gnus.org:

> carlmarcos <at> tutanota.com writes:
>
>> The documentation for function `describe-face' states that a FACE has
>> to be passed
>>
>> (describe-face FACE &optional FRAME)
>>
>> But the code also calls this
>>
>> (if (stringp f) (setq f (intern f)))
>>
>> Meaning that users can pass tho face-name as a string, but this
>> possibility is not mentioned in the documentation of the function.
>>
>
> We don't document things that we're not recommending people do.
>
> Closing.
>
Why do you not want it used?  What's so wrong about it?







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

Previous Next


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