mu4e: update font-locking for mu4e-compose-mode

mu4e was making a vain attempt to fontify the compose buffer; this
doesn't work because message (from which mu4e-compose-mode derives) uses
font-locking for that.

So, instead, remap the message-mode faces to the ones used for mu4e.
This commit is contained in:
djcb
2016-07-09 23:42:58 +03:00
parent b31ba3dd81
commit 1e963c1779
3 changed files with 28 additions and 7 deletions

View File

@ -504,12 +504,12 @@ I.e. a message with the draft flag set."
:group 'mu4e-faces)
(defface mu4e-header-value-face
'((t :inherit font-lock-doc-face))
'((t :inherit font-lock-type-face))
"Face for a header value (such as \"Re: Hello!\")."
:group 'mu4e-faces)
(defface mu4e-special-header-value-face
'((t :inherit font-lock-variable-name-face))
'((t :inherit font-lock-builtin-face))
"Face for special header values."
:group 'mu4e-faces)