mu4e: propertize parens around attachment size in message view

This commit is contained in:
Sasha Kovar 2013-02-21 11:11:03 -08:00
parent 23dd3bb27e
commit 55619550e9
1 changed files with 2 additions and 3 deletions

View File

@ -437,9 +437,8 @@ at POINT, or if nil, at (point)."
"[mouse-1] or [M-RET] opens the attachment\n"
"[mouse-2] or [S-RET] offers to save it"))
(when (and size (> size 0))
(concat (format "(%s)"
(propertize (mu4e-display-size size)
'face 'mu4e-view-header-key-face)))))))
(propertize (format "(%s)" (mu4e-display-size size))
'face 'mu4e-view-header-key-face)))))
attachments ", ")))
(when attachments
(mu4e~view-construct-header :attachments attstr t))))