summaryrefslogtreecommitdiff
path: root/lisp/mail/sendmail.el
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2012-03-19 13:17:50 +0900
committerKenichi Handa <handa@m17n.org>2012-03-19 13:17:50 +0900
commit4ebb358f29e64094871ad6d35fb365d77c17047d (patch)
treecfc5c5055207bd4e5995a12ca292d16939a9efdb /lisp/mail/sendmail.el
parent4827f94e1725c34d4b19d79f4c74f16a0dc3b0cb (diff)
parente50a24a249e1bfd69af7e48ea5076cac78bf7224 (diff)
downloademacs-4ebb358f29e64094871ad6d35fb365d77c17047d.tar.gz
emacs-4ebb358f29e64094871ad6d35fb365d77c17047d.tar.bz2
emacs-4ebb358f29e64094871ad6d35fb365d77c17047d.zip
merge trunk
Diffstat (limited to 'lisp/mail/sendmail.el')
-rw-r--r--lisp/mail/sendmail.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index f4dfcfcf647..4e2d827fc29 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -1085,9 +1085,10 @@ Return non-nil if and only if some part of the header is encoded."
(cons selected mm-coding-system-priorities)
mm-coding-system-priorities))
(tick (buffer-chars-modified-tick))
- ;; rms: this proved necessary, but I don't recall why.
- ;; Can anyone determine why, and state it here?
- (rfc2047-encode-encoded-words t))
+ ;; Many mailers, including Gnus, passes a message of which
+ ;; the header is already encoded, so this is necessary to
+ ;; prevent it from being encoded again.
+ (rfc2047-encode-encoded-words nil))
(rfc2047-encode-message-header)
(= tick (buffer-chars-modified-tick)))))