all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26529: 26.0.50; describe-key again errors for keys bound to lambda forms
@ 2017-04-16  2:00 Michael Heerdegen
  2017-04-16 10:11 ` Alan Mackenzie
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Heerdegen @ 2017-04-16  2:00 UTC (permalink / raw)
  To: 26529; +Cc: Alan Mackenzie


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






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#26529: 26.0.50; describe-key again errors for keys bound to lambda forms
  2017-04-16  2:00 bug#26529: 26.0.50; describe-key again errors for keys bound to lambda forms Michael Heerdegen
@ 2017-04-16 10:11 ` Alan Mackenzie
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Mackenzie @ 2017-04-16 10:11 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: 26529-done

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-16 10:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-16  2:00 bug#26529: 26.0.50; describe-key again errors for keys bound to lambda forms Michael Heerdegen
2017-04-16 10:11 ` Alan Mackenzie

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.