]> git.eshelyaron.com Git - emacs.git/commitdiff
gnus-util.el (gnus-macroexpand-all): Fix last change.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 3 Dec 2010 08:01:00 +0000 (08:01 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 3 Dec 2010 08:01:00 +0000 (08:01 +0000)
lisp/gnus/gnus-util.el

index 1ba10f46f3ceb00ba09204781346e5b4dc02840d..55d6ce55ebb9770bb7951fdf9561be82efa34fbe 100644 (file)
@@ -2046,11 +2046,12 @@ definitions to shadow the loaded ones for use in file byte-compilation."
              (len (length (setq form (copy-sequence form))))
              expanded)
          (while (< idx len)
-           (setcar (nthcdr idx form) (gnus-macroexpand-all (nth idx form)))
+           (setcar (nthcdr idx form) (gnus-macroexpand-all (nth idx form)
+                                                           environment))
            (setq idx (1+ idx)))
          (if (eq (setq expanded (macroexpand form environment)) form)
              form
-           (gnus-macroexpand-all expanded)))
+           (gnus-macroexpand-all expanded environment)))
       form)))
 
 (provide 'gnus-util)