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

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 04 Sep 2021 15:45:17 +0200

Andy Moreton <[email-masked]> writes:

> I think that the difference is whether the user sees it as describing
> arguments to a function call, or forms in a control structure. The
> "(when COND BODY...)" version also matches the style used for `if'.
>
> Most of the other macros are intended to look like function calls to the
> user, not control structures.

Like...  `when-let'?

I think it pretty much looks like the (fn) in `when' (and `unless') is a
bug (it certainly trips up eldoc here, which would do the correct thing
if (fn) is removed).

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no