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

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

bug#57064: describe-face accepts face_name as string


From: Lars Ingebrigtsen
Subject: bug#57064: describe-face accepts face_name as string
Date: Tue, 09 Aug 2022 20:30:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

carlmarcos@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.





reply via email to

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