aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMark Walters <markwalters1009@gmail.com>2013-06-10 05:57:11 +0100
committerDavid Bremner <bremner@debian.org>2013-06-13 00:06:59 +0900
commit490b02345e5a33fa7906495def4a7b714f145f79 (patch)
tree35958f2763fa95a1f84ee9e494c6920ccf7ae470 /test
parent81c199c962e4e0d8d65be2f66444565ce5d28209 (diff)
emacs: show: modify the way hidden state is recorded.
Previously, whether a part was hidden or shown was recorded in the invisibility/visibility of the part overlay. Since we are going to have lazily rendered parts with no overlay store the hidden/shown state in the part button itself. Additionally, in preparation for the invisible part handling move the actual hiding of the hidden parts to insert-bodypart from create-part-overlays. Finally, we will need to know whether a part-insertion has done anything (it won't if the invisible part cannot be displayed by emacs) so we slightly rejig the code order in notmuch-show-toggle-part-invisibility to make it easier for the function to set an appropriate return value.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions