mu4e: Add mu4e-header-field-face, avoid mu-header-key-face cycle
By default, mu4e-header-key-face inherits from message-header-name; this leads to warnings when we later remap the latter to the former in mu4e-compose.el. We don't want to change the definition of mu4e-header-key-face (it's used widely in mu4e); so we add a new face mu4e-header-field-face for *just* mu4e-compose and which does not inherit. Fixes #2321.
This commit is contained in:
@ -316,7 +316,7 @@ Our parent `message-mode' uses font-locking for the compose
|
||||
buffers; lets remap its faces so it uses the ones for mu4e."
|
||||
;; normal headers
|
||||
(face-remap-add-relative 'message-header-name
|
||||
'((:inherit mu4e-header-key-face)))
|
||||
'((:inherit mu4e-header-field-face)))
|
||||
(face-remap-add-relative 'message-header-other
|
||||
'((:inherit mu4e-header-value-face)))
|
||||
;; special headers
|
||||
|
||||
Reference in New Issue
Block a user