mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
notmuch.el: fontify date in header
The date was unfairly left out of getting pretty colors in the notmuch-show header display. This fixes that grave injustice. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
parent
a7a961c510
commit
aa531a92ae
1 changed files with 7 additions and 1 deletions
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue