changeset 111805:e0c65fdcc070

gnus-util.el (gnus-macroexpand-all): Fix last change.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Fri, 03 Dec 2010 08:01:00 +0000
parents cd612a84ed02
children 9489b74d0217
files lisp/gnus/gnus-util.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/gnus-util.el	Fri Dec 03 07:49:34 2010 +0000
+++ b/lisp/gnus/gnus-util.el	Fri Dec 03 08:01:00 2010 +0000
@@ -2046,11 +2046,12 @@
 	      (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)