aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-reply.c
diff options
context:
space:
mode:
authorGravatar Dmitry Kurochkin <dmitry.kurochkin@gmail.com>2011-05-26 02:10:16 +0400
committerGravatar Carl Worth <cworth@cworth.org>2011-06-15 07:07:32 -0700
commit52f751fb7442d7fd79e2a7dae5858f23e28e4438 (patch)
tree5741934f943ae0236bfd398ef19cdb5c8232af8a /notmuch-reply.c
parent4a9d0ac1472f7bd8b785256366720e3e6aa2855f (diff)
Simplify message and headers visibility code in notmuch-show view.
Before the change, headers and message visibility functions took extra care to correctly set `buffer-invisibility-spec'. This was needed because headers overlay `invisible' property had only headers' invisibility spec. So visibility of headers was determined only by the headers invisibility spec. The patch sets headers overlay `invisible' property a list with both the headers and the message invisibility spec. This makes headers invisible if either of them is added to the `buffer-invisibility-spec' and allows to simplify the code.
Diffstat (limited to 'notmuch-reply.c')
0 files changed, 0 insertions, 0 deletions