mirror of https://github.com/djcb/mu.git
Add `mu4e-view-body-face`
This allows setting a custom face for the message body, e.g., if you prefer a proportional font for the body: (set-face-attribute 'mu4e-view-body-face nil :font "Liberation Serif-10")
This commit is contained in:
parent
a7d611c902
commit
1a33a710db
|
@ -492,7 +492,12 @@ I.e. a message with the draft flag set."
|
|||
|
||||
(defface mu4e-modeline-face
|
||||
'((t :inherit font-lock-string-face :bold t))
|
||||
"Face for the query view in the mode-line."
|
||||
"Face for the query in the mode-line."
|
||||
:group 'mu4e-faces)
|
||||
|
||||
(defface mu4e-view-body-face
|
||||
'((t :inherit default))
|
||||
"Face for the body in the message-view."
|
||||
:group 'mu4e-faces)
|
||||
|
||||
(defface mu4e-footer-face
|
||||
|
|
|
@ -240,7 +240,7 @@ found."
|
|||
(mu4e~view-custom-field msg field))))))
|
||||
mu4e-view-fields "")
|
||||
"\n"
|
||||
(mu4e-message-body-text msg)))
|
||||
(propertize (mu4e-message-body-text msg) 'face 'mu4e-view-body-face)))
|
||||
|
||||
(defun mu4e~view-embedded-winbuf ()
|
||||
"Get a buffer (shown in a window) for the embedded message."
|
||||
|
|
Loading…
Reference in New Issue