* mu4e/mu-msg-part: better detection of body / attachments

This commit is contained in:
djcb
2012-08-02 15:48:03 +03:00
parent 99778d1314
commit b71a27b7c0
2 changed files with 17 additions and 4 deletions

View File

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