From 8d0cab5714e2f7e19339eadd019de89484e87c88 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 7 Aug 1997 04:18:18 +0000 Subject: [PATCH] (sendmail-send-it): Bind sendmail-coding-system to buffer-file-coding-system if it is non-nil. --- lisp/mail/sendmail.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- 2.39.2