mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-24 22:07:36 +00:00
Bugfix: message.el (message-signed-or-encrypted-p): Exclude header when checking if there is signed or encrypted body in text/plain message.
This commit is contained in:
parent
93e616fdc5
commit
f5b71bc0d6
2 changed files with 10 additions and 3 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue