Subject: 26.0.50; describe-key again errors for keys bound to lambda forms
From: Michael Heerdegen <[email-masked]>
To: [email-masked]
Cc: Alan Mackenzie <[email-masked]>
Date: Sun, 16 Apr 2017 04:00:44 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

in emacs -Q, eval

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

then C-h k <f11> gives you

describe-key: Wrong type argument: symbolp, (lambda nil (interactive)
(make-frame))

This seems unrelated to similar #11848.  Instead,

| 0c31ff43b6880c84498fbe1f06e1e5809b55e838
| Author:     Alan Mackenzie <[email-masked]>
| AuthorDate: Mon Jan 23 19:00:49 2017 +0000
| Commit:     Alan Mackenzie <[email-masked]>
| CommitDate: Mon Jan 23 19:00:49 2017 +0000
| 
| Give , and .@ doc strings.  Fixes bug #24561.

seems to be causing this issue this time; probably

  (get function 'reader-construct)

should test whether FUNCTION is really bound to a symbol.

Thanks in advance,

Michael.

In GNU Emacs 26.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
 of 2017-04-11 built on drachen
Repository revision: b7ec73f6905df99978f7183ac8e83a3be56edc6c
Windowing system distributor 'The X.Org Foundation', version 11.0.11902000
System Description:	Debian GNU/Linux 9.0 (stretch)