1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 11:00:45 -08:00

(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

@ -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")))