* mu4e-view.el: don't show attachment size when there is none

This commit is contained in:
djcb
2012-02-13 22:37:26 +02:00
parent 7e9879ccc6
commit 56f02e01e2

View File

@ -201,7 +201,7 @@ if IS-OPEN is nil, and otherwise open it."
'face 'mu4e-view-link-face
'keymap map
'mouse-face 'highlight)
(when size
(when (and size (> size 0))
(concat (format "(%s)"
(propertize (mu4e-display-size size)
'face 'mu4e-view-header-key-face)))))))