]> 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 02:30:12 +0000 (02:30 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 3 Dec 2010 02:30:12 +0000 (02:30 +0000)
lisp/gnus/gnus-util.el

index d71035754a738a0b5d0a2813c1cb82d151525b96..af5159ece3bfd7e7db9722a53b008f1c265dcb5a 100644 (file)
@@ -2042,10 +2042,9 @@ If no macros are expanded, FORM is returned unchanged."
     (if (consp form)
        (let ((idx 1)
              (len (length form))
-             elem expanded)
+             expanded)
          (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