emacs/show: Make the insertion of part headers overridable.
authorDavid Edmondson <dme@dme.org>
Sat, 20 Feb 2016 18:24:36 +0000 (18:24 +0000)
committerDavid Bremner <david@tethera.net>
Sun, 21 Feb 2016 12:37:08 +0000 (08:37 -0400)
commit92a1f9ba171713ada2c16af16b84acd67182b88c
tree439faca904aa494d373bef8d4e7d09c85e02411e
parent65a2a58a811824bbc6ba049f63dad101e8c9cf97
emacs/show: Make the insertion of part headers overridable.

This allows callers of notmuch-show-insert-bodypart to use a `let'
binding to override the default function for specifying when part
headers should be inserted.

We also add an option to never show part buttons which will be used by
the test suites for the reply tests.
emacs/notmuch-show.el