aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs/notmuch-show.el
diff options
context:
space:
mode:
authorGravatar Dmitry Kurochkin <dmitry.kurochkin@gmail.com>2011-05-26 02:10:12 +0400
committerGravatar Carl Worth <cworth@cworth.org>2011-06-15 07:07:32 -0700
commitf43f76088739523a1396fbe6dc41b68d55f0720c (patch)
tree24e094b0c9a8aea11967bad6e1f4fe71d23e120e /emacs/notmuch-show.el
parent974faa22b5dfa0204b568b9a2b37821cbac0967c (diff)
Pass message to the `notmuch-show-insert-text/plain-hook' hook.
Before the change, the `notmuch-show-insert-text/plain-hook' was given only the `depth' argument. The patch adds another one - the message. Currently, the new message argument is not used by any on the hooks. But it will be used later to get access to message invisibility specs when wash buttons are inserted.
Diffstat (limited to 'emacs/notmuch-show.el')
-rw-r--r--emacs/notmuch-show.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index fb91c838..850fef34 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -546,7 +546,7 @@ current buffer, if possible."
(save-excursion
(save-restriction
(narrow-to-region start (point-max))
- (run-hook-with-args 'notmuch-show-insert-text/plain-hook depth))))
+ (run-hook-with-args 'notmuch-show-insert-text/plain-hook msg depth))))
t)
(defun notmuch-show-insert-part-text/x-vcalendar (msg part content-type nth depth declared-type)