From: Carl Worth Date: Wed, 4 Nov 2009 16:38:49 +0000 (-0800) Subject: notmuch.el: Fix to hide citations in body of read messages. X-Git-Tag: 0.1~595 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=c8382b2f0e3e409b9bbaef2fb1c46ebb29d2cab1 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. --- 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)