mirror of https://github.com/djcb/mu.git
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:
parent
a822c93ad0
commit
105809cd8e
|
@ -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 ()
|
||||
|
|
Loading…
Reference in New Issue