mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-07 15:21:46 +00:00
mm-decode.el (mm-dissect-buffer): Add a default content-disposition in mm handle if none is specified.
This commit is contained in:
parent
e5d76069f0
commit
c843522682
@ -1,3 +1,8 @@
|
||||
2011-07-29 Daniel Dehennin <daniel.dehennin@baby-gnu.org>
|
||||
|
||||
* mm-decode.el (mm-dissect-buffer): Add a default content-disposition
|
||||
in mm handle if none is specified.
|
||||
|
||||
2011-07-24 Andrew Cohen <cohen@andy.bu.edu>
|
||||
|
||||
* nnimap.el (nnimap-make-thread-query): Quote message-ids for gmail.
|
||||
|
@ -564,7 +564,13 @@ Postpone undisplaying of viewers for types in
|
||||
(setq ct (mail-fetch-field "content-type")
|
||||
ctl (and ct (mail-header-parse-content-type ct))
|
||||
cte (mail-fetch-field "content-transfer-encoding")
|
||||
cd (mail-fetch-field "content-disposition")
|
||||
cd (or (mail-fetch-field "content-disposition")
|
||||
(when (and ctl
|
||||
(eq 'mm-inline-text
|
||||
(cadr (mm-assoc-string-match
|
||||
mm-inline-media-tests
|
||||
(car ctl)))))
|
||||
"inline"))
|
||||
;; 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")
|
||||
|
Loading…
Reference in New Issue
Block a user