* mu4e: hide some non-attachments from the attachment list in the view

This commit is contained in:
djcb 2012-07-24 23:39:47 +03:00
parent 84682bfe2c
commit 45611b0461
1 changed files with 5 additions and 5 deletions

View File

@ -378,9 +378,9 @@ is nil, and otherwise open it."
;; we only list parts that look like attachments, ie. that have a
;; non-nil :attachment property; we record a mapping between user-visible
;; numbers and the part indices
(remove-if-not
(remove-if
(lambda (part)
(plist-get part :attachment))
(member 'inline (plist-get part :type)))
(plist-get msg :parts)))
(attstr
(mapconcat