When resending, don't externalize attachments.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Fri, 1 Oct 2010 19:53:55 +0000 (21:53 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Fri, 1 Oct 2010 19:53:55 +0000 (21:53 +0200)
Bug reported by Steve Wen.

lisp/ChangeLog
lisp/gnus-msg.el

index 430579b..a7c5234 100644 (file)
@@ -1,5 +1,8 @@
 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-msg.el (gnus-summary-resend-message): When resending, don't
+       externalize attachments.  Bug reported by Steve Wen.
+
        * gnus.el (gnus-continuum-version): Make inactive, since it doesn't
        really message anything to the user.
 
index a3794f2..891718e 100644 (file)
@@ -1265,7 +1265,8 @@ For the `inline' alternatives, also see the variable
   (dolist (article (gnus-summary-work-articles n))
     (gnus-summary-select-article nil nil nil article)
     (with-current-buffer gnus-original-article-buffer
-      (message-resend address))
+      (let ((gnus-gcc-externalize-attachments nil))
+       (message-resend address)))
     (gnus-summary-mark-article-as-forwarded article)))
 
 ;; From: Matthieu Moy <Matthieu.Moy@imag.fr>