aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-search.c
diff options
context:
space:
mode:
authorGravatar Dmitry Kurochkin <dmitry.kurochkin@gmail.com>2011-11-30 01:19:54 +0400
committerGravatar David Bremner <bremner@debian.org>2011-12-07 20:05:25 -0400
commita647f43643073cd02e26788e417efd8dd3323669 (patch)
treeb84e10b1edb52d539eda54f4b02d7d3c9b081f18 /notmuch-search.c
parent3e0820eb7138df4f11fdf6fc8baf96f583152f14 (diff)
emacs: do not call notmuch show for non-inlinable parts
Before the change, there was a workaround to avoid notmuch show calls for parts with application/* Content-Type. But non-inlinable parts are not limited to this Content-Type (e.g. mp3 files have audio/mpeg Content-Type and are not inlinable). For such parts `notmuch-show-insert-part-*/*' handler is called which unconditionally fetches contents for all parts. The patch moves content fetching from `notmuch-show-insert-part-*/*' to `notmuch-show-mm-display-part-inline' function after MIME inlinable checks are done to avoid useless notmuch show calls. The application/* hack is no longer needed and removed.
Diffstat (limited to 'notmuch-search.c')
0 files changed, 0 insertions, 0 deletions