diff options
| author | Katsumi Yamaoka | 2010-05-14 07:48:21 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-05-14 07:48:21 +0000 |
| commit | d567e92ffa261e0cc01b7644d2c3a7e2241a579d (patch) | |
| tree | e6a223da0cfb859b96ea76141563d7ebe6f241f6 | |
| parent | c2eb4a8321dd86f085724c709e881663c81d0c6b (diff) | |
| download | emacs-d567e92ffa261e0cc01b7644d2c3a7e2241a579d.tar.gz emacs-d567e92ffa261e0cc01b7644d2c3a7e2241a579d.zip | |
Synch with Gnus trunk.
(gnus-summary-save-article): Don't bother to re-fetch article unless
decoding article to be saved.
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/gnus-sum.el | 8 |
2 files changed, 7 insertions, 6 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 0b7eaf7ed72..395cca72a93 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-05-14 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * gnus-sum.el (gnus-summary-save-article): Don't bother to re-fetch | ||
| 4 | article unless decoding article to be saved. | ||
| 5 | |||
| 1 | 2010-05-13 Katsumi Yamaoka <yamaoka@jpl.org> | 6 | 2010-05-13 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 7 | ||
| 3 | * mml1991.el (mml1991-mailcrypt-encrypt, mml1991-gpg-encrypt) | 8 | * mml1991.el (mml1991-mailcrypt-encrypt, mml1991-gpg-encrypt) |
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index 3a2c944ed2f..3626d0bd904 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -11664,12 +11664,8 @@ will not be marked as saved." | |||
| 11664 | (gnus-message 1 "Article %d is unsaveable" article)) | 11664 | (gnus-message 1 "Article %d is unsaveable" article)) |
| 11665 | ;; This is a real article. | 11665 | ;; This is a real article. |
| 11666 | (save-window-excursion | 11666 | (save-window-excursion |
| 11667 | (let ((gnus-display-mime-function (when decode | 11667 | (gnus-summary-select-article decode decode nil article) |
| 11668 | gnus-display-mime-function)) | 11668 | (gnus-summary-goto-subject article)) |
| 11669 | (gnus-article-prepare-hook (when decode | ||
| 11670 | gnus-article-prepare-hook))) | ||
| 11671 | (gnus-summary-select-article t t nil article) | ||
| 11672 | (gnus-summary-goto-subject article))) | ||
| 11673 | (with-current-buffer save-buffer | 11669 | (with-current-buffer save-buffer |
| 11674 | (erase-buffer) | 11670 | (erase-buffer) |
| 11675 | (insert-buffer-substring (if decode | 11671 | (insert-buffer-substring (if decode |