diff options
author | Richard M. Stallman <rms@gnu.org> | 2012-03-10 04:11:22 -0500 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2012-03-10 04:11:22 -0500 |
commit | 1694e6c1bb59c4080f170ce6d18fe5e9ed6ba27d (patch) | |
tree | 1167c2f4f2d3fcd2138743e7311221336a21d7af /lisp | |
parent | 607e855510987c88d2197f2a52fff8a635a24776 (diff) | |
download | emacs-1694e6c1bb59c4080f170ce6d18fe5e9ed6ba27d.tar.gz emacs-1694e6c1bb59c4080f170ce6d18fe5e9ed6ba27d.tar.bz2 emacs-1694e6c1bb59c4080f170ce6d18fe5e9ed6ba27d.zip |
sendmail mode quoting bug fix.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 3 | ||||
-rw-r--r-- | lisp/mail/sendmail.el | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1d225b9cd81..bda91a16883 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2012-03-10 Richard Stallman <rms@gnu.org> + * mail/sendmail.el (mail-encode-header): + Set rfc2047-encode-encoded-words. + * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars. * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index 91e0b183a68..f4dfcfcf647 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el @@ -1085,7 +1085,9 @@ 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)) - (rfc2047-encode-encoded-words nil)) + ;; rms: this proved necessary, but I don't recall why. + ;; Can anyone determine why, and state it here? + (rfc2047-encode-encoded-words t)) (rfc2047-encode-message-header) (= tick (buffer-chars-modified-tick))))) |