diff options
| author | Katsumi Yamaoka | 2010-12-03 04:39:36 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-12-03 04:39:36 +0000 |
| commit | 115e0ebf4341a1079e1987f87dbfea76c8536204 (patch) | |
| tree | 6de6e590adb8ad7da7959a23a48f04d5234ce46a | |
| parent | afe272389b0f7ecc92e79dabb91e444c7462a10a (diff) | |
| download | emacs-115e0ebf4341a1079e1987f87dbfea76c8536204.tar.gz emacs-115e0ebf4341a1079e1987f87dbfea76c8536204.zip | |
gnus-util.el (gnus-macroexpand-all): Don't modify argument.
| -rw-r--r-- | lisp/gnus/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/gnus/gnus-util.el | 2 |
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 @@ | |||
| 1 | 2010-12-03 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * gnus-util.el (gnus-macroexpand-all): Don't modify argument. | ||
| 4 | |||
| 1 | 2010-12-03 Glenn Morris <rgm@gnu.org> | 5 | 2010-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." | |||
| 2041 | If no macros are expanded, FORM is returned unchanged." | 2041 | If 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))) |