From: Katsumi Yamaoka Date: Fri, 3 Dec 2010 08:01:00 +0000 (+0000) Subject: gnus-util.el (gnus-macroexpand-all): Fix last change. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~45^2~64 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=89a92f421a3ab18754b87d9c78f9ccbd29976c69;p=emacs.git gnus-util.el (gnus-macroexpand-all): Fix last change. --- diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el index 1ba10f46f3c..55d6ce55ebb 100644 --- a/lisp/gnus/gnus-util.el +++ b/lisp/gnus/gnus-util.el @@ -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)