* lisp/emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 11 Jun 2012 20:47:33 +0000 (16:47 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 11 Jun 2012 20:47:33 +0000 (16:47 -0400)
conversion to backquotes.

Fixes: debbugs:11652

lisp/ChangeLog
lisp/emacs-lisp/cl-macs.el

index ce57aff..cbc7518 100644 (file)
@@ -1,5 +1,8 @@
 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
+       conversion to backquotes (bug#11652).
+
        Fix compiler-expansion of CL's cXXr functions (bug#11673).
        * emacs-lisp/cl-lib.el (cl--defalias): New function.
        (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
@@ -15,6 +18,7 @@
        * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
        (cl--compiler-macro-list*): Add autoload cookie.
        (cl--compiler-macro-cXXr): New function.
+
        * help-fns.el (help-fns--compiler-macro): New function extracted from
        describe-function-1; follow aliases and use `compiler-macro' property.
        (describe-function-1): Use it.
index a4caa0f..0b49563 100644 (file)
@@ -1108,7 +1108,7 @@ Valid clauses are:
                      (let ((temp-len (make-symbol "--cl-len--")))
                        (push (list temp-len `(length ,temp-seq))
                              loop-for-bindings)
-                       (push (list var `(elt ,temp-seq temp-idx))
+                       (push (list var `(elt ,temp-seq ,temp-idx))
                              cl--loop-symbol-macs)
                        (push `(< ,temp-idx ,temp-len) cl--loop-body))
                    (push (list var nil) loop-for-bindings)