]> git.notmuchmail.org Git - notmuch/commit
emacs: show: hide large text attachments by default
authorMark Walters <markwalters1009@gmail.com>
Sat, 28 Mar 2015 11:08:59 +0000 (11:08 +0000)
committerDavid Bremner <david@tethera.net>
Fri, 3 Apr 2015 00:29:05 +0000 (09:29 +0900)
commit6518f0d2bc40957802904c6236b04510b9bfb9f6
tree3210b2bb6909447f6a5f4ef7eb16b5933421b359
parent3d1483df12050dec8a2df95249576162a0e79302
emacs: show: hide large text attachments by default

notmuch-show can be slow displaying large attachments so hide them by
default. The default maximum size is 10000 bytes/characters but it is
customizable.

Note that notmuch-show-insert-bodypart is also called from the reply
code so we need to be a little careful.
emacs/notmuch-show.el