emacs: remove some code duplication in notmuch-show
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Fri, 25 Nov 2011 22:23:30 +0000 (02:23 +0400)
committerDavid Bremner <bremner@debian.org>
Wed, 7 Dec 2011 23:58:45 +0000 (19:58 -0400)
commitf1e75c724d98dd6e8586f0189877d644eedc15e5
tree66eebbeae7054d48c9a063bcecc1bd1eced432bd
parent1daa7f3e9502974cd6b838e027b88fd9b09bd87a
emacs: remove some code duplication in notmuch-show

Add optional props argument to `notmuch-show-get-header'.  Use it to
get headers in `notmuch-show-insert-part-multipart/signed' and
`notmuch-show-insert-part-multipart/encrypted'.
emacs/notmuch-show.el