Commit d567e92f authored by Katsumi Yamaoka's avatar Katsumi Yamaoka
Browse files

Synch with Gnus trunk.

(gnus-summary-save-article): Don't bother to re-fetch article unless
 decoding article to be saved.
parent c2eb4a83
2010-05-14 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-sum.el (gnus-summary-save-article): Don't bother to re-fetch
article unless decoding article to be saved.
2010-05-13 Katsumi Yamaoka <yamaoka@jpl.org>
* mml1991.el (mml1991-mailcrypt-encrypt, mml1991-gpg-encrypt)
......
......@@ -11664,12 +11664,8 @@ will not be marked as saved."
(gnus-message 1 "Article %d is unsaveable" article))
;; This is a real article.
(save-window-excursion
(let ((gnus-display-mime-function (when decode
gnus-display-mime-function))
(gnus-article-prepare-hook (when decode
gnus-article-prepare-hook)))
(gnus-summary-select-article t t nil article)
(gnus-summary-goto-subject article)))
(gnus-summary-select-article decode decode nil article)
(gnus-summary-goto-subject article))
(with-current-buffer save-buffer
(erase-buffer)
(insert-buffer-substring (if decode
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment