aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.el
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-04 08:38:49 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-11-04 08:50:44 -0800
commitc8382b2f0e3e409b9bbaef2fb1c46ebb29d2cab1 (patch)
tree3832bbd114d9faa6295af735a84a67f32882ec9a /notmuch.el
parent446459a5eab3d5a085950a25476079d5188c7528 (diff)
notmuch.el: Fix to hide citations in body of read messages.
Previously, unhinding a read message would still show all the citations in that message without an explicit command to make them visible. Fix.
Diffstat (limited to 'notmuch.el')
-rw-r--r--notmuch.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/notmuch.el b/notmuch.el
index 5f394cdd..a6cb8236 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -198,10 +198,10 @@ simply move to the beginning of the current message."
(let ((beg (point)))
(re-search-forward notmuch-show-body-end-regexp)
(let ((end (match-beginning 0)))
+ (notmuch-show-markup-citations-region beg end)
(if (not (member "unread" (notmuch-show-get-tags)))
(overlay-put (make-overlay beg end)
- 'invisible 'notmuch-show-body-read))
- (notmuch-show-markup-citations-region beg end))))
+ 'invisible 'notmuch-show-body-read)))))
(defun notmuch-show-markup-header ()
(re-search-forward notmuch-show-header-begin-regexp)