bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26529: 26.0.50; describe-key again errors for keys bound to lambda f


From: Alan Mackenzie
Subject: bug#26529: 26.0.50; describe-key again errors for keys bound to lambda forms
Date: Sun, 16 Apr 2017 10:11:39 +0000
User-agent: Mutt/1.7.2 (2016-11-26)

Hello, Michael.

On Sun, Apr 16, 2017 at 04:00:44 +0200, Michael Heerdegen wrote:

> 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 <address@hidden>
> | AuthorDate: Mon Jan 23 19:00:49 2017 +0000
> | Commit:     Alan Mackenzie <address@hidden>
> | 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.

Sorry about this.  You're absolutely right, a `symbolp' is needed before
those `get's (in two places).

I've pushed a fix to master, and am closing this bug.

> Thanks in advance,

Thank you, too!

> Michael.

-- 
Alan Mackenzie (Nuremberg, Germany).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]