aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs/notmuch-show.el
diff options
context:
space:
mode:
authorGravatar David Edmondson <dme@dme.org>2010-04-27 11:20:58 +0100
committerGravatar Carl Worth <cworth@cworth.org>2010-04-27 08:22:40 -0700
commit43423e9c88e2c054ecd8328e82837867121af281 (patch)
treefb923c100e0a020b74bd589b3e4aceca1e0a9069 /emacs/notmuch-show.el
parent08561d8ae133704fcf15edbdd47f15474dc030d5 (diff)
emacs/notmuch-wash.el: Add `notmuch-wash-convert-inline-patch-to-part'.
Detect inline patches and convert them to fake attachments, in order that `diff-mode' highlighting can be applied to the patch. This can be enabled by customising `notmuch-show-insert-text/plain-hook'.
Diffstat (limited to 'emacs/notmuch-show.el')
-rw-r--r--emacs/notmuch-show.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index eb5335ff..4b1baf38 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -71,7 +71,8 @@ any given message."
"Functions used to improve the display of text/plain parts."
:group 'notmuch
:type 'hook
- :options '(notmuch-wash-wrap-long-lines
+ :options '(notmuch-wash-convert-inline-patch-to-part
+ notmuch-wash-wrap-long-lines
notmuch-wash-tidy-citations
notmuch-wash-elide-blank-lines
notmuch-wash-excerpt-citations))