all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Helmut Eller <eller.helmut@gmail.com>
To: 6408@debbugs.gnu.org
Subject: bug#6408: 24.0.50; &key (var default) in destructuring-bind
Date: Fri, 11 Jun 2010 22:13:27 +0200	[thread overview]
Message-ID: <m2eigd9vko.fsf@gmail.com> (raw)

[-- 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))


             reply	other threads:[~2010-06-11 20:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-11 20:13 Helmut Eller [this message]
2010-06-12  7:08 ` bug#6408: 24.0.50; &key (var default) in destructuring-bind Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2eigd9vko.fsf@gmail.com \
    --to=eller.helmut@gmail.com \
    --cc=6408@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.