mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
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.
This commit is contained in:
parent
446459a5ea
commit
c8382b2f0e
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue