* mu4e: slightly improved attachment detection
This commit is contained in:
@ -378,8 +378,10 @@ 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 (member 'body (plist-get part :type))
|
(or
|
||||||
(member 'inline (plist-get part :type))))
|
(not (member 'attachment (plist-get part :type)))
|
||||||
|
;;
|
||||||
|
))
|
||||||
(plist-get msg :parts)))
|
(plist-get msg :parts)))
|
||||||
(attstr
|
(attstr
|
||||||
(mapconcat
|
(mapconcat
|
||||||
|
|||||||
Reference in New Issue
Block a user