(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:
parent
2813d65208
commit
1d6af2e59e
1 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue