]> git.notmuchmail.org Git - notmuch/commit
Factor out message buffer mgmt from notmuch-show-view-all-mime-parts
authorKeith Amidon <keith@nicira.com>
Fri, 27 Nov 2009 13:30:10 +0000 (05:30 -0800)
committerCarl Worth <cworth@cworth.org>
Sat, 28 Nov 2009 05:07:35 +0000 (21:07 -0800)
commitc4463d4cb482abebdffe725a85fff35a0eba31a1
treea6b77750f3344a453a1b4eb3074d57fa227b34b8
parent30bdcfe6511b9b6efff1f84fbf77320c2da0d76a
Factor out message buffer mgmt from notmuch-show-view-all-mime-parts

The ability to temporarily create a buffer containing only the
contents of the currently selected message in notmuch show mode is
generally useful.  This commit factors the majority of the code
required to do so out of notmuch-show-view-all-mime-parts into a macro
called with-current-notmuch-show-message and rewrites the original
function in terms of the macro.

A future set of commits will provide additional functionality using
the macro as well.
notmuch.el