(gnus-summary-save-article): Don't bother to re-fetch article unless
authorKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 14 May 2010 07:47:42 +0000 (07:47 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 14 May 2010 07:47:42 +0000 (07:47 +0000)
 decoding article to be saved.

lisp/ChangeLog
lisp/gnus-sum.el

index 40eedf2..4b04871 100644 (file)
@@ -1,3 +1,8 @@
+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)
index 3a2c944..3626d0b 100644 (file)
@@ -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