From: H. J. Illikainen Date: Wed, 4 Nov 2015 22:44:00 +0000 (+0700) Subject: emacs: Fontify From with message-header-other X-Git-Tag: 0.22_rc0~111 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=cbf2448bb1d58fa173fa2662f41c63d8a1717f39 emacs: Fontify From with message-header-other Commit e26d767897e8ab59f05808a12ac5c9c1e3c7030f changed the fontification of the body associated with the From header to message-header-from. However, that face is non-existent, and in message.el (message-font-lock-keywords) the From-header falls through and is attributed the message-header-other face. This commit removes the fontification of the [Ff]rom header in notmuch-show-mode in order to fontify it using the message-header-other face. This only affects non-default configurations where notmuch-message-headers is set to display From. --- diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 49fd198a..793f1a5c 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -353,8 +353,6 @@ operation on the contents of the current buffer." 'message-header-cc) ((looking-at "[Ss]ubject:") 'message-header-subject) - ((looking-at "[Ff]rom:") - 'message-header-from) (t 'message-header-other))))