X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch.el;h=ee5448de3c79ebf04c9d8d87513f5add971da9b9;hp=5e479d656730b74f821a3b7d9bd2e035e0944e57;hb=aa531a92aef4c87403cd3be307c05f8a300017c5;hpb=a7a961c510a87dc8af2842decabcbc9ecb7c1139 diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 5e479d65..ee5448de 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -152,7 +152,13 @@ (overlay-put (make-overlay (point) (re-search-forward ":")) 'face 'message-header-name) (overlay-put (make-overlay (point) (re-search-forward ".*$")) - 'face 'message-header-other))))))) + 'face 'message-header-other)) + (if (looking-at "[Dd]ate:") + (progn + (overlay-put (make-overlay (point) (re-search-forward ":")) + 'face 'message-header-name) + (overlay-put (make-overlay (point) (re-search-forward ".*$")) + 'face 'message-header-other)))))))) (defun notmuch-documentation-first-line (symbol) "Return the first line of the documentation string for SYMBOL."