system for encoding outgoing mails is (1) local value of
buffer-file-coding-system, (2) sendmail-coding-syste, (3)
default-buffer-file-coding-system.
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)