aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa1997-09-10 13:15:07 +0000
committerKenichi Handa1997-09-10 13:15:07 +0000
commit1d6af2e59ed66ba3d097f676fef8ba28ed85e4e6 (patch)
treea22f128f93888592926b6caed8a101794bb40c1a
parent2813d65208c6bd5e774450aa8e206845ab149d21 (diff)
downloademacs-1d6af2e59ed66ba3d097f676fef8ba28ed85e4e6.tar.gz
emacs-1d6af2e59ed66ba3d097f676fef8ba28ed85e4e6.zip
(sendmail-send-it): The priority of coding
system for encoding outgoing mails is (1) local value of buffer-file-coding-system, (2) sendmail-coding-syste, (3) default-buffer-file-coding-system.
-rw-r--r--lisp/mail/sendmail.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index e5f1495ca81..1035aba71cb 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -619,8 +619,11 @@ the user from the mailer."
619 delimline 619 delimline
620 fcc-was-found 620 fcc-was-found
621 (mailbuf (current-buffer)) 621 (mailbuf (current-buffer))
622 (sendmail-coding-system (or buffer-file-coding-system 622 (sendmail-coding-system
623 sendmail-coding-system))) 623 (if (local-variable-p 'buffer-file-coding-system)
624 buffer-file-coding-system
625 (or sendmail-coding-system
626 default-buffer-file-coding-system))))
624 (unwind-protect 627 (unwind-protect
625 (save-excursion 628 (save-excursion
626 (set-buffer tembuf) 629 (set-buffer tembuf)