GNU bug report logs -
#38675
27.0.50; define-obsolete-face-alias definition does not match documentation
Previous Next
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
View this message in rfc822 format
I’m easy either way. Do the usage and docs match the other “define-obsolete-“ macros?
> On Dec 21, 2019, at 04:38, Eli Zaretskii <eliz <at> gnu.org> wrote:
>
>
>>
>> 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 204 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.