all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#6408: 24.0.50; &key (var default) in destructuring-bind
@ 2010-06-11 20:13 Helmut Eller
  2010-06-12  7:08 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Helmut Eller @ 2010-06-11 20:13 UTC (permalink / raw)
  To: 6408

[-- Attachment #1: Type: text/plain, Size: 299 bytes --]

With this code:

  (destructuring-bind (&key (x 1)) '()
    x)

Emacs complains that:

  let*: Symbol's value as variable is void: bind-enquote

The attached patch fixes this problem, but I can't explains why.

In GNU Emacs 24.0.50.8 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
 of 2010-04-29 on ix



[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: cl-macs.el.patch --]
[-- Type: text/x-diff, Size: 544 bytes --]

=== modified file 'lisp/emacs-lisp/cl-macs.el'
--- lisp/emacs-lisp/cl-macs.el	2010-05-19 20:37:57 +0000
+++ lisp/emacs-lisp/cl-macs.el	2010-06-11 20:11:10 +0000
@@ -438,7 +438,7 @@
 ;;;###autoload
 (defmacro destructuring-bind (args expr &rest body)
   (let* ((bind-lets nil) (bind-forms nil) (bind-inits nil)
-	 (bind-defs nil) (bind-block 'cl-none))
+	 (bind-defs nil) (bind-block 'cl-none) (bind-enquote nil))
     (cl-do-arglist (or args '(&aux)) expr)
     (append '(progn) bind-inits
 	    (list (nconc (list 'let* (nreverse bind-lets))


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

end of thread, other threads:[~2010-06-12  7:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-11 20:13 bug#6408: 24.0.50; &key (var default) in destructuring-bind Helmut Eller
2010-06-12  7:08 ` Glenn Morris

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.