Subject: bug#66021: 30.0.50; error from C-h k with closure

From: Andrea Corallo <[email-masked]>
Date: Mon, 18 Sep 2023 04:17:11 -0400

Eli Zaretskii <[email-masked]> writes:

>> From: Gerd Möllmann <[email-masked]>
>> Date: Sat, 16 Sep 2023 08:01:13 +0200
>> 
>> With emacs -Q, evaluate
>> 
>>   (keymap-global-set "<f2>" (lambda () (interactive) (message "<f2>")))
>> 
>> then C-h k and press f2.  This signals an error
>> 
>>   help-fns--signature: Wrong type argument: symbolp, (closure ...
>
> The backtrace is below.  Andrea, can you please look into this?  is
> testing for symbolp the right fix there?

Hi Eli,

yes it is, fixed in master for me with 991bf3f0f5d.

Thanks

  Andrea