]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-show.el
Pass message to the `notmuch-show-insert-text/plain-hook' hook.
[notmuch] / emacs / notmuch-show.el
index fb91c83856eb5e248d7bd64ab7a9522593822550..850fef34d9a12dbf0f640b2e357bed334feb1959 100644 (file)
@@ -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)