GNU bug report logs - #38675
27.0.50; define-obsolete-face-alias definition does not match documentation

Previous Next

Package: emacs;

Reported by: James Felix Black <jfb <at> homonculus.net>

Date: Thu, 19 Dec 2019 18:59:01 UTC

Severity: normal

Found in version 27.0.50

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

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: James Felix Black <jfb <at> homonculus.net>
Cc: 38675 <at> debbugs.gnu.org
Subject: Re: bug#38675: 27.0.50;
 define-obsolete-face-alias definition does not match documentation
Date: Sat, 21 Dec 2019 11:38:36 +0200
> From: James Felix Black <jfb <at> homonculus.net>
> Date: Thu, 19 Dec 2019 12:49:01 -0500
> 
> This was discovered in `haskell-mode` [1]. The documentation of  define-obsolete-face-alias claims that `when` is optional, but the macro definition does not follow the docs. This patch fixes the problem.

I'm not sure this isn't a confusion caused by ambiguous wording of the
doc string.  I think by "if provided" it means that WHEN can be nil.
The ELisp manual, btw, doesn't have this problem.

Would it be okay to modify the doc string instead to say WHEN is
required, but can be nil?

Thanks.




This bug report was last modified 5 years and 205 days ago.

Previous Next


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