summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1997-08-07 04:18:18 +0000
committerKenichi Handa <handa@m17n.org>1997-08-07 04:18:18 +0000
commit8979907ad9ece8c171548b633f399443ca5a011a (patch)
treee0be5560651df712cd319acaebfada4abbc6df28
parent8923daa39363e5e8cf022a767286764eab4bc0ee (diff)
downloademacs-8979907ad9ece8c171548b633f399443ca5a011a.tar.gz
(sendmail-send-it): Bind sendmail-coding-system
to buffer-file-coding-system if it is non-nil.
-rw-r--r--lisp/mail/sendmail.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index 0b9c14d24e9..bd2e582efd0 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -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)