Commit f5b71bc0 authored by Katsumi Yamaoka's avatar Katsumi Yamaoka
Browse files

Bugfix: message.el (message-signed-or-encrypted-p): Exclude header when...

Bugfix: message.el (message-signed-or-encrypted-p): Exclude header when checking if there is signed or encrypted body in text/plain message.
parent 93e616fd
2011-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
* message.el (message-signed-or-encrypted-p): Exclude header when
checking if there is signed or encrypted body in text/plain message.
2011-10-09 Andreas Schwab <schwab@linux-m68k.org>
 
* html2text.el (html2text-get-attr): Correctly handle attribute values
......
......@@ -7429,14 +7429,16 @@ is for the internal use."
(with-temp-buffer
(insert-buffer-substring cur)
(when (setq handles (mm-dissect-buffer t t))
(if (and (prog1
(bufferp (car handles))
(mm-destroy-parts handles))
(if (and (bufferp (car handles))
(equal (mm-handle-media-type handles) "text/plain"))
(progn
(erase-buffer)
(insert-buffer-substring (car handles))
(mm-decode-content-transfer-encoding
(mm-handle-encoding handles))
(mm-destroy-parts handles)
(setq handles (mm-uu-dissect)))
(mm-destroy-parts handles)
(setq handles nil))))))
(when handles
(prog1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment