]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: Fontify From with message-header-other
authorH. J. Illikainen <hji@dyntopia.com>
Wed, 4 Nov 2015 22:44:00 +0000 (05:44 +0700)
committerDavid Bremner <david@tethera.net>
Tue, 10 Nov 2015 02:25:05 +0000 (22:25 -0400)
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.

emacs/notmuch-show.el

index 49fd198a7a5cc365b09c26b378b8f1f5e5aceeb2..793f1a5c1c9b6e2570e531049d80a4d6781225c0 100644 (file)
@@ -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))))