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:
@ -242,7 +242,7 @@ found."
|
|||||||
"\n"
|
"\n"
|
||||||
(let ((body (mu4e-message-body-text msg)))
|
(let ((body (mu4e-message-body-text msg)))
|
||||||
(when (fboundp 'add-face-text-property)
|
(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)))
|
body)))
|
||||||
|
|
||||||
(defun mu4e~view-embedded-winbuf ()
|
(defun mu4e~view-embedded-winbuf ()
|
||||||
|
|||||||
Reference in New Issue
Block a user