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


View this message in rfc822 format

From: carlmarcos <at> tutanota.com
To: 57064 <at> debbugs.gnu.org
Subject: bug#57064: describe-face accepts face_name as string
Date: Tue, 9 Aug 2022 03:44:40 +0200 (CEST)
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.




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

Previous Next


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