]> git.notmuchmail.org Git - notmuch/commit
emacs: Correct message/header/citation/signature hiding
authorDavid Edmondson <dme@dme.org>
Mon, 26 Apr 2010 10:17:11 +0000 (11:17 +0100)
committerCarl Worth <cworth@cworth.org>
Mon, 26 Apr 2010 15:07:17 +0000 (08:07 -0700)
commit75b9b028ea4d611841441b744291e1181b37548f
treef1b083725ddc31458261177441272d857575e7ef
parent969f1c46213e0cca6be28ffd066f80fa8353d5c9
emacs: Correct message/header/citation/signature hiding

Set `buffer-invisibility-spec' to `nil' (a list) if it is just `t'
before inserting any body parts, otherwise removing items from
`buffer-invisibility-spec' (which is what
`notmuch-show-headers-visible' and `notmuch-show-message-visible' do)
is a no-op and has no effect. This caused threads with only matching
messages to have those messages hidden initially because
`buffer-invisibility-spec' stayed `t'.
emacs/notmuch-show.el