* mu4e: always put images (inline or attachment) in the list of attachments
This commit is contained in:
@ -374,8 +374,9 @@ is nil, and otherwise open it."
|
|||||||
;; numbers and the part indices
|
;; numbers and the part indices
|
||||||
(remove-if
|
(remove-if
|
||||||
(lambda (part)
|
(lambda (part)
|
||||||
(or
|
(or ;; remove if it's not an attachment, unless it's an image
|
||||||
(not (member 'attachment (plist-get part :type)))
|
(and (not (member 'attachment (plist-get part :type)))
|
||||||
|
(not (string-match "^image" (plist-get part :mime-type))))
|
||||||
;;
|
;;
|
||||||
))
|
))
|
||||||
(plist-get msg :parts)))
|
(plist-get msg :parts)))
|
||||||
|
|||||||
Reference in New Issue
Block a user