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

(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)
parent 2813d652
...@@ -619,8 +619,11 @@ the user from the mailer." ...@@ -619,8 +619,11 @@ the user from the mailer."
delimline delimline
fcc-was-found fcc-was-found
(mailbuf (current-buffer)) (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)
(or sendmail-coding-system
(unwind-protect (unwind-protect
(save-excursion (save-excursion
(set-buffer tembuf) (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