From 9044ccc7f24f4eade0dd7216cc8626b71a2b646b Mon Sep 17 00:00:00 2001 From: djcb Date: Fri, 10 Aug 2012 09:59:16 +0300 Subject: [PATCH] * mu4e: slightly improved attachment detection --- mu4e/mu4e-view.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mu4e/mu4e-view.el b/mu4e/mu4e-view.el index c4bcb7a4..79c5e34b 100644 --- a/mu4e/mu4e-view.el +++ b/mu4e/mu4e-view.el @@ -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