mu4e: Use length, not string-width when fontifying body

The latter does not what we want and gives errors (esp. on OSX it seems)
This commit is contained in:
djcb 2015-10-19 12:13:21 +03:00
parent a822c93ad0
commit 105809cd8e
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ found."
"\n"
(let ((body (mu4e-message-body-text msg)))
(when (fboundp 'add-face-text-property)
(add-face-text-property 0 (string-width body) 'mu4e-view-body-face t body))
(add-face-text-property 0 (length body) 'mu4e-view-body-face t body))
body)))
(defun mu4e~view-embedded-winbuf ()