aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings
diff options
context:
space:
mode:
authorGravatar Dmitry Kurochkin <dmitry.kurochkin@gmail.com>2011-05-26 02:10:14 +0400
committerGravatar Carl Worth <cworth@cworth.org>2011-06-15 07:07:32 -0700
commit95ef8da29439f2e79115c36ab4d2a80aef1a1462 (patch)
tree3b6e2efbf2cbf0dda5fd34035e26fc34052308b5 /bindings
parent7524b0650ef70508e3adfdb7a139076a8cd083e9 (diff)
Fix hiding a message while some citations are shown in notmuch-show view.
Before the change, message and citation invisibility overlays conflicted: if some citation is made visible and then the whole message is hidden, that citation remained visible. This happened because the citation's overlay has an invisible property which takes priority over the message overlay. The message invisibility spec does not affect citation visibility, it is determined solely by the citation overlay invisibility spec. Hence, if citation is made visible, it is not hidden by message invisibility spec. The patch changes citation overlay invisibility property to be a list which contains both the citation and the message invisibility specs. This makes the citation invisible if either of them is added to the `buffer-invisibility-spec'. Note that all citation visibility states are "restored" when the message hidden and shown again.
Diffstat (limited to 'bindings')
0 files changed, 0 insertions, 0 deletions