]> git.eshelyaron.com Git - emacs.git/commitdiff
(sendmail-send-it): Bind sendmail-coding-system
authorKenichi Handa <handa@m17n.org>
Thu, 7 Aug 1997 04:18:18 +0000 (04:18 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 7 Aug 1997 04:18:18 +0000 (04:18 +0000)
to buffer-file-coding-system if it is non-nil.

lisp/mail/sendmail.el

index 0b9c14d24e97af1fcd3035ddd404f6db4d91c0ca..bd2e582efd02b2a2bdcdcc5047c02ad24050d770 100644 (file)
@@ -590,7 +590,9 @@ the user from the mailer."
        resend-to-addresses
        delimline
        fcc-was-found
-       (mailbuf (current-buffer)))
+       (mailbuf (current-buffer))
+       (sendmail-coding-system (or buffer-file-coding-system
+                                       sendmail-coding-system)))
     (unwind-protect
        (save-excursion
          (set-buffer tembuf)