* mu4e: slightly improved attachment detection

This commit is contained in:
djcb 2012-08-10 09:59:16 +03:00
parent 74189c04a4
commit 9044ccc7f2
1 changed files with 4 additions and 2 deletions

View File

@ -378,8 +378,10 @@ is nil, and otherwise open it."
;; numbers and the part indices
(remove-if
(lambda (part)
(or (member 'body (plist-get part :type))
(member 'inline (plist-get part :type))))
(or
(not (member 'attachment (plist-get part :type)))
;;
))
(plist-get msg :parts)))
(attstr
(mapconcat