mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 10:58:10 +01:00
make header names bold in show-mode
This commit is contained in:
parent
b38bd7efd8
commit
00c0896c9b
1 changed files with 8 additions and 0 deletions
|
@ -593,6 +593,14 @@ which this thread was originally shown."
|
||||||
(re-search-forward notmuch-show-header-end-regexp)
|
(re-search-forward notmuch-show-header-end-regexp)
|
||||||
(beginning-of-line)
|
(beginning-of-line)
|
||||||
(let ((end (point-marker)))
|
(let ((end (point-marker)))
|
||||||
|
(goto-char beg)
|
||||||
|
(forward-line)
|
||||||
|
(while (looking-at "[A-Za-z][-A-Za-z0-9]*:")
|
||||||
|
(beginning-of-line)
|
||||||
|
(overlay-put (make-overlay (point) (re-search-forward ":"))
|
||||||
|
'face 'bold)
|
||||||
|
(forward-line)
|
||||||
|
)
|
||||||
(indent-rigidly beg end depth)
|
(indent-rigidly beg end depth)
|
||||||
(overlay-put (make-overlay beg-hidden end)
|
(overlay-put (make-overlay beg-hidden end)
|
||||||
'invisible 'notmuch-show-header)
|
'invisible 'notmuch-show-header)
|
||||||
|
|
Loading…
Reference in a new issue