]> git.eshelyaron.com Git - emacs.git/commitdiff
sendmail mode quoting bug fix.
authorRichard M. Stallman <rms@gnu.org>
Sat, 10 Mar 2012 09:11:22 +0000 (04:11 -0500)
committerRichard M. Stallman <rms@gnu.org>
Sat, 10 Mar 2012 09:11:22 +0000 (04:11 -0500)
lisp/ChangeLog
lisp/mail/sendmail.el

index 1d225b9cd8115030dda2b34a0a743a043151b840..bda91a16883c90a4d32d14f031f0e56d1ee83e40 100644 (file)
@@ -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
index 91e0b183a688a4a1e16016f4268478ff4f34ddb0..f4dfcfcf64727dd68d30a740b72bef7de9f46e10 100644 (file)
@@ -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)))))