Subject: bug#27229: eldoc wrong highlighting for "when"

From: Andy Moreton <[email-masked]>
Date: Fri, 03 Sep 2021 18:09:46 +0100

On Fri 03 Sep 2021, Lars Ingebrigtsen wrote:

> Andy Moreton <[email-masked]> writes:
>
>>> Anybody know what the point of the (fn...) here is?
>>
>> Have a look at (info "(elisp) Function Documentation") which explains
>> this usage. Perhaps eldoc needs fixing to understand that idiom.
>
> I know what (fn ...) does.  I'm asking what's the point of it here,
> since the (fn ...) just seems to restate what's already the actual
> parameter list.

Without using "fn", it is shown as "(when COND &rest BODY)" which is
less helpful than showing "(when COND BODY...)".

    AndyM