* mu4e-view: list inline-parts as attachments, too.
This commit is contained in:
@ -390,9 +390,12 @@ at POINT, or if nil, at (point)."
|
|||||||
;; user-visible numbers and the part indices
|
;; user-visible numbers and the part indices
|
||||||
(remove-if-not
|
(remove-if-not
|
||||||
(lambda (part)
|
(lambda (part)
|
||||||
(let ((mtype (mu4e-message-part-field part :mime-type))
|
(let* ((mtype (mu4e-message-part-field part :mime-type))
|
||||||
(isattach (member 'attachment
|
(attachtype (mu4e-message-part-field part :type))
|
||||||
(mu4e-message-part-field part :type))))
|
(isattach (or ;; we lost parts marked either
|
||||||
|
;; "attachment" or "inline" as attachment.
|
||||||
|
(member 'attachment attachtype)
|
||||||
|
(member 'inline attachtype))))
|
||||||
(or ;; remove if it's not an attach *or* if it's an
|
(or ;; remove if it's not an attach *or* if it's an
|
||||||
;; image/audio/application type (but not a signature)
|
;; image/audio/application type (but not a signature)
|
||||||
isattach
|
isattach
|
||||||
|
|||||||
Reference in New Issue
Block a user