X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.el;h=f0db47c3a5d61a705a3ecc6356e67fde24c309ce;hp=7723730f3e92f3da198df9353ea296c6298154aa;hb=f99b46c60734b5b71bedcb1434cdd6dc24080bc6;hpb=3ab18d1c22c4b18b9ca8d73094b3bf10b95f35fb diff --git a/notmuch.el b/notmuch.el index 7723730f..f0db47c3 100644 --- a/notmuch.el +++ b/notmuch.el @@ -828,8 +828,8 @@ is what to put on the button." (defun notmuch-show-markup-body (depth match btn) "Markup a message body, (indenting, buttonizing citations, -etc.), and conditionally hiding the body itself if the message -has been read and does not match the current search. +etc.), and hiding the body itself if the message does not match +the current search. DEPTH specifies the depth at which this message appears in the tree of the current thread, (the top-level messages have depth 0 @@ -850,7 +850,7 @@ before the delimiter marking the beginning of the body." (overlay-put (make-overlay beg end) 'invisible invis-spec) (button-put btn 'invisibility-spec invis-spec) - (if (not (or (notmuch-show-message-unread-p) match)) + (if (not match) (add-to-invisibility-spec invis-spec))) (set-marker beg nil) (set-marker end nil)