Subject: 31.0.50; describe-key broken on interactive lambdas

From: Madhu <[email-masked]>
Date: Mon, 26 May 2025 21:16:22 +0530 (IST)

On recent master, but this seems to have been broken for a while:

$ emacs -Q -eval '(define-key global-map (kbd "<f11>") (lambda () (interactive) (bury-buffer)))'

C-h v <f11>

throws an error:

function-get: Wrong type argument: symbolp, #[nil ((bury-buffer)) (t) nil nil nil]

Acktually the *Help* buffer is formatted with sufficient information,
but the error prevents it from being displayed.

-- Madhu