aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatsumi Yamaoka2010-12-03 04:39:36 +0000
committerKatsumi Yamaoka2010-12-03 04:39:36 +0000
commit115e0ebf4341a1079e1987f87dbfea76c8536204 (patch)
tree6de6e590adb8ad7da7959a23a48f04d5234ce46a
parentafe272389b0f7ecc92e79dabb91e444c7462a10a (diff)
downloademacs-115e0ebf4341a1079e1987f87dbfea76c8536204.tar.gz
emacs-115e0ebf4341a1079e1987f87dbfea76c8536204.zip
gnus-util.el (gnus-macroexpand-all): Don't modify argument.
-rw-r--r--lisp/gnus/ChangeLog4
-rw-r--r--lisp/gnus/gnus-util.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index acd0ac18571..85c8434a7e8 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,7 @@
12010-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * gnus-util.el (gnus-macroexpand-all): Don't modify argument.
4
12010-12-03 Glenn Morris <rgm@gnu.org> 52010-12-03 Glenn Morris <rgm@gnu.org>
2 6
3 * mm-extern.el (message-goto-body): Update declaration. 7 * mm-extern.el (message-goto-body): Update declaration.
diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el
index af5159ece3b..1f391f0cc0c 100644
--- a/lisp/gnus/gnus-util.el
+++ b/lisp/gnus/gnus-util.el
@@ -2041,7 +2041,7 @@ Same as `string-match' except this function does not change the match data."
2041If no macros are expanded, FORM is returned unchanged." 2041If no macros are expanded, FORM is returned unchanged."
2042 (if (consp form) 2042 (if (consp form)
2043 (let ((idx 1) 2043 (let ((idx 1)
2044 (len (length form)) 2044 (len (length (setq form (copy-sequence form))))
2045 expanded) 2045 expanded)
2046 (while (< idx len) 2046 (while (< idx len)
2047 (setcar (nthcdr idx form) (gnus-macroexpand-all (nth idx form))) 2047 (setcar (nthcdr idx form) (gnus-macroexpand-all (nth idx form)))