aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.el
diff options
context:
space:
mode:
authorGravatar Alexander Botero-Lowry <alex.boterolowry@gmail.com>2009-11-20 00:06:17 -0800
committerGravatar Alexander Botero-Lowry <alexbl@fortitudo.(none)>2009-11-22 15:26:18 -0800
commit00c0896c9b9369ec2a844cea4d841be7d4485220 (patch)
treef8664e3b14b2485194a2839de7416c2aca6189a4 /notmuch.el
parentb38bd7efd83a8b7ea2c961060d8007efa055b9b6 (diff)
make header names bold in show-mode
Diffstat (limited to 'notmuch.el')
-rw-r--r--notmuch.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/notmuch.el b/notmuch.el
index 763c85ff..70dbe5ba 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -593,6 +593,14 @@ which this thread was originally shown."
(re-search-forward notmuch-show-header-end-regexp)
(beginning-of-line)
(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)
(overlay-put (make-overlay beg-hidden end)
'invisible 'notmuch-show-header)