Subject: bug#11848: 24.1.50; describe-key error for keys bound to lambda forms

From: Michael Heerdegen <[email-masked]>
Date: Tue, 03 Jul 2012 06:34:50 +0200

e.g. eval this in emacs -Q:

(global-set-key [(control c) (control c)]
                (lambda () (interactive) (make-frame)))

Then hit C-h k C-c C-c

==>

Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
  file-truename(nil)
  help-fns--autoloaded-p((lambda nil (interactive) (make-frame)) nil)
  describe-function-1((lambda nil (interactive) (make-frame)))
  describe-key("^C^C" 1 nil)
  call-interactively(describe-key nil nil)

while the *Help* buffer has this content:

"C-c C-c runs the command (lambda nil (interactive) (make-frame)), which is "

Thanks,

Michael.