aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa1997-08-07 04:18:18 +0000
committerKenichi Handa1997-08-07 04:18:18 +0000
commit8d0cab5714e2f7e19339eadd019de89484e87c88 (patch)
tree2868f8cfba68b4ecf3cff5f7d453397b645cd118
parent89b95605b71d5bc9fc04d04fd9cfbc4fc263088c (diff)
downloademacs-8d0cab5714e2f7e19339eadd019de89484e87c88.tar.gz
emacs-8d0cab5714e2f7e19339eadd019de89484e87c88.zip
(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."
590 resend-to-addresses 590 resend-to-addresses
591 delimline 591 delimline
592 fcc-was-found 592 fcc-was-found
593 (mailbuf (current-buffer))) 593 (mailbuf (current-buffer))
594 (sendmail-coding-system (or buffer-file-coding-system
595 sendmail-coding-system)))
594 (unwind-protect 596 (unwind-protect
595 (save-excursion 597 (save-excursion
596 (set-buffer tembuf) 598 (set-buffer tembuf)