aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatsumi Yamaoka2012-03-13 23:27:56 +0000
committerKatsumi Yamaoka2012-03-13 23:27:56 +0000
commit899cb7cb68e9845e787291c4ba8ba8fa692be605 (patch)
tree6102f30f830c3d742054b0cd9146e1aaadc6f213
parent3809f91dfa03f4494d6ea8f5c9e0137993531864 (diff)
downloademacs-899cb7cb68e9845e787291c4ba8ba8fa692be605.tar.gz
emacs-899cb7cb68e9845e787291c4ba8ba8fa692be605.zip
mail/sendmail.el (mail-encode-header): Bind rfc2047-encode-encoded-words to nil.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/mail/sendmail.el7
2 files changed, 9 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 1b7eabd2009..14531f6adc5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * mail/sendmail.el (mail-encode-header):
4 Bind rfc2047-encode-encoded-words to nil.
5
12012-03-13 Glenn Morris <rgm@gnu.org> 62012-03-13 Glenn Morris <rgm@gnu.org>
2 7
3 * calendar/calendar.el (calendar-string-spread): 8 * calendar/calendar.el (calendar-string-spread):
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."
1085 (cons selected mm-coding-system-priorities) 1085 (cons selected mm-coding-system-priorities)
1086 mm-coding-system-priorities)) 1086 mm-coding-system-priorities))
1087 (tick (buffer-chars-modified-tick)) 1087 (tick (buffer-chars-modified-tick))
1088 ;; rms: this proved necessary, but I don't recall why. 1088 ;; Many mailers, including Gnus, passes a message of which
1089 ;; Can anyone determine why, and state it here? 1089 ;; the header is already encoded, so this is necessary to
1090 (rfc2047-encode-encoded-words t)) 1090 ;; prevent it from being encoded again.
1091 (rfc2047-encode-encoded-words nil))
1091 (rfc2047-encode-message-header) 1092 (rfc2047-encode-message-header)
1092 (= tick (buffer-chars-modified-tick))))) 1093 (= tick (buffer-chars-modified-tick)))))
1093 1094