]> code.delx.au - gnu-emacs/commitdiff
Inhibit querying for the encoding of the headers when resending
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 5 Apr 2016 08:28:09 +0000 (10:28 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 5 Apr 2016 08:28:09 +0000 (10:28 +0200)
* lisp/gnus/message.el (message-resend): Inhibit querying for
the encoding of the headers when resending.

lisp/gnus/message.el

index d4313e0b2f9e07299a29c1b6533108a817413e71..14d8d30f8af1ca74e78e669115396bc64c29cbbf 100644 (file)
@@ -7637,6 +7637,9 @@ is for the internal use."
             (let ((case-fold-search t))
               (re-search-forward "^mime-version:" nil t)))
            (message-inhibit-ecomplete t)
+           ;; We don't want smtpmail.el to encode anything, either.
+           (sendmail-coding-system 'raw-text)
+           (select-safe-coding-system-function nil)
            message-required-mail-headers
            message-generate-hashcash
            rfc2047-encode-encoded-words)