* mu4e: support the :size field in headers, message view

This commit is contained in:
djcb
2012-09-15 18:24:03 +03:00
parent 0844984095
commit 5a9b867ca8
3 changed files with 9 additions and 5 deletions

View File

@ -182,9 +182,7 @@ plist."
(if datestr (mu4e~view-construct-header field datestr) "")))
;; size
(:size
(let* (size (mu4e-view-size msg)
(sizestr (when size (format "%d bytes" size))))
(if sizestr (mu4e~view-construct-header field sizestr))))
(mu4e~view-construct-header field (mu4e-display-size fieldval)))
;; attachments
(:attachments (mu4e~view-construct-attachments-header msg))
;; pgp-signatures