gnus-util.el (gnus-macroexpand-all): Fix last change.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 3 Dec 2010 02:30:51 +0000 (02:30 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 3 Dec 2010 02:30:51 +0000 (02:30 +0000)
lisp/gnus-util.el

index d710357..af5159e 100644 (file)
@@ -2042,10 +2042,9 @@ If no macros are expanded, FORM is returned unchanged."
     (if (consp form)
        (let ((idx 1)
              (len (length form))
     (if (consp form)
        (let ((idx 1)
              (len (length form))
-             elem expanded)
+             expanded)
          (while (< idx len)
          (while (< idx len)
-           (when (consp (setq elem (nth idx form)))
-             (setcar (nthcdr idx form) (gnus-macroexpand-all elem)))
+           (setcar (nthcdr idx form) (gnus-macroexpand-all (nth idx form)))
            (setq idx (1+ idx)))
          (if (eq (setq expanded (macroexpand form)) form)
              form
            (setq idx (1+ idx)))
          (if (eq (setq expanded (macroexpand form)) form)
              form