[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27229: eldoc wrong highlighting for "when"
From: |
Andy Moreton |
Subject: |
bug#27229: eldoc wrong highlighting for "when" |
Date: |
Fri, 03 Sep 2021 18:09:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt) |
On Fri 03 Sep 2021, Lars Ingebrigtsen wrote:
> Andy Moreton <andrewjmoreton@gmail.com> 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