Commit 1d6af2e5 authored by Kenichi Handa's avatar Kenichi Handa

(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.
parent 2813d652
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment