(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 0b9c14d..bd2e582 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)