(mm-dissect-buffer): Use message-fetch-field instead of mail-fetch-field to

fetch Content-Description header in order to exclude newlines.
This commit is contained in:
Katsumi Yamaoka 2009-06-23 22:38:22 +00:00
parent 632c203070
commit aa227ba554
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2009-06-22 Katsumi Yamaoka <yamaoka@jpl.org>
* mm-decode.el (mm-dissect-buffer): Use message-fetch-field instead of
mail-fetch-field to fetch Content-Description header in order to
exclude newlines.
2009-06-01 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-art.el (gnus-mime-delete-part): Specify gnus-decoded as charset

View file

@ -563,7 +563,9 @@ Postpone undisplaying of viewers for types in
ctl (and ct (mail-header-parse-content-type ct))
cte (mail-fetch-field "content-transfer-encoding")
cd (mail-fetch-field "content-disposition")
description (mail-fetch-field "content-description")
;; Newlines in description should be stripped so as
;; not to break the MIME tag into two or more lines.
description (message-fetch-field "content-description")
id (mail-fetch-field "content-id"))
(unless from
(setq from (mail-fetch-field "from")))