]> git.cworth.org Git - notmuch/commit
emacs: Make the part content available to `mm-inlinable-p'.
authorDavid Edmondson <dme@dme.org>
Thu, 19 Jan 2012 09:34:07 +0000 (09:34 +0000)
committerDavid Bremner <bremner@debian.org>
Thu, 26 Jan 2012 12:10:55 +0000 (08:10 -0400)
commit63342a3c06cca53720f8be2ae8c4cf2c66d137f1
tree175fbf85aba9802d7925506b3e634c97c3e7c5c3
parente6e10b82c98fbb68db45a57d2167af6032934ebc
emacs: Make the part content available to `mm-inlinable-p'.

The `mm-inlinable-p' function works better if it has access to the
data of the relevant part, so load that content before calling it.

Don't load the content for parts that the user has indicated no desire
to inline.

This fixes the display of attached image/jpeg parts, for example.
emacs/notmuch-show.el