1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-21 06:56:48 +02:00

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

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 ()