X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch-show.el;h=aabe56e242018068ee4c4483ac6cc406a0a5b5d3;hp=529baa972bbeccd49f70b7f50f796ed1959c41ad;hb=0b94dd7fd3dcd071ebbe498cd80f5fd687a78e08;hpb=ebb58751dc0f20da3176a53d41d196e4c5de12e0 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 529baa97..aabe56e2 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -711,7 +711,7 @@ message at DEPTH in the current thread." (let ((start (if button (button-start button) (point)))) - (insert (notmuch-get-bodypart-content msg part nth notmuch-show-process-crypto)) + (insert (notmuch-get-bodypart-content msg part notmuch-show-process-crypto)) (save-excursion (save-restriction (narrow-to-region start (point-max)) @@ -720,7 +720,7 @@ message at DEPTH in the current thread." (defun notmuch-show-insert-part-text/calendar (msg part content-type nth depth button) (insert (with-temp-buffer - (insert (notmuch-get-bodypart-content msg part nth notmuch-show-process-crypto)) + (insert (notmuch-get-bodypart-content msg part notmuch-show-process-crypto)) ;; notmuch-get-bodypart-content provides "raw", non-converted ;; data. Replace CRLF with LF before icalendar can use it. (goto-char (point-min)) @@ -772,7 +772,7 @@ message at DEPTH in the current thread." (defun notmuch-show-insert-part-*/* (msg part content-type nth depth button) ;; This handler _must_ succeed - it is the handler of last resort. - (notmuch-mm-display-part-inline msg part nth content-type notmuch-show-process-crypto) + (notmuch-mm-display-part-inline msg part content-type notmuch-show-process-crypto) t) ;; Functions for determining how to handle MIME parts. @@ -1485,7 +1485,8 @@ they just need the correct message properties." (cond ((eq major-mode 'notmuch-show-mode) (notmuch-show-get-message-properties)) ((eq major-mode 'notmuch-tree-mode) - (notmuch-tree-get-message-properties)))))) + (notmuch-tree-get-message-properties)) + (t nil))))) (plist-get props prop))) (defun notmuch-show-get-message-id (&optional bare)