(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.
This commit is contained in:
Kenichi Handa 1997-09-10 13:15:07 +00:00
parent 2813d65208
commit 1d6af2e59e

View file

@ -619,8 +619,11 @@ the user from the mailer."
delimline
fcc-was-found
(mailbuf (current-buffer))
(sendmail-coding-system (or buffer-file-coding-system
sendmail-coding-system)))
(sendmail-coding-system
(if (local-variable-p 'buffer-file-coding-system)
buffer-file-coding-system
(or sendmail-coding-system
default-buffer-file-coding-system))))
(unwind-protect
(save-excursion
(set-buffer tembuf)