]> rtime.felk.cvut.cz Git - notmuch.git/commit
emacs: Allow part preferences to depend on message content.
authorDavid Edmondson <dme@dme.org>
Sun, 3 Apr 2016 16:04:38 +0000 (17:04 +0100)
committerDavid Bremner <david@tethera.net>
Sat, 9 Apr 2016 19:17:20 +0000 (16:17 -0300)
commitf0881394bd8bec4af8ddedf0a128648a3a4e2127
treea7cf785e4df426cbe3432da303f67d405b7359f8
parentd93d3779b8e46ea5158353fa5ddc0ea9fa789617
emacs: Allow part preferences to depend on message content.

Currently the preference for which sub-part of a multipart/alternative
part is shown is global. Allow to the user to override the settings on a
per-message basis by providing the ability to call a function that has
access to the message to return the discouraged type list.

The original approach is retained as the default.
emacs/notmuch-lib.el
emacs/notmuch-show.el