* 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

View File

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