The date was unfairly left out of getting pretty colors in the notmuch-show header display. This fixes that grave injustice. --- notmuch.el | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/notmuch.el b/notmuch.el
index 97914f2..48c270b 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -722,7 +722,13 @@ before the delimiter marking the beginning of the body."
(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-show-markup-header (message-begin depth)
"Buttonize and decorate faces in a message header.
--
1.6.5
pgprUz6TwcNWp.pgp
Description: PGP signature
_______________________________________________ notmuch mailing list [email protected] http://notmuchmail.org/mailman/listinfo/notmuch
