aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.el
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-12-03 09:48:00 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-12-03 11:29:35 -0800
commit682102c2df45bb6642f2d5c538284fe48136d4ea (patch)
treef11fada0ec74eb09657fe7ba96977a4a3f915264 /notmuch.el
parente1f05f1c20b1ff582cbe150cefe39fd9aea64907 (diff)
emacs: Make the message-summary highlighting extend to end of visible line.
This will look much nicer than the highlighting terminating at the end of the summary text.
Diffstat (limited to 'notmuch.el')
-rw-r--r--notmuch.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/notmuch.el b/notmuch.el
index 744f4d3c..29bb9eb2 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -726,11 +726,11 @@ which this thread was originally shown."
(re-search-forward notmuch-show-header-begin-regexp)
(forward-line)
(let ((beg (point-marker))
+ (summary-end (copy-marker (line-beginning-position 2)))
(btn nil))
- (end-of-line)
; Inverse video for subject
- (overlay-put (make-overlay beg (point)) 'face '(:inverse-video t))
- (setq btn (make-button beg (point) :type 'notmuch-button-body-toggle-type))
+ (overlay-put (make-overlay beg summary-end) 'face '(:inverse-video t))
+ (setq btn (make-button beg summary-end :type 'notmuch-button-body-toggle-type))
(forward-line 1)
(end-of-line)
(let ((beg-hidden (point-marker)))