diff --git a/mu4e/mu4e-proc.el b/mu4e/mu4e-proc.el index ca124add..10c238d5 100644 --- a/mu4e/mu4e-proc.el +++ b/mu4e/mu4e-proc.el @@ -473,7 +473,7 @@ the function registered as `mu4e-view-func'." :decrypt ,(and decrypt t) :verify ,(and verify t)))) -(defun mu4e~proc-view-path (path &optional images decrypt) +(defun mu4e~proc-view-path (path &optional images decrypt verify) "View message at PATH.. Optionally, if IMAGES is non-nil, backend will any images attached to the message, and return them as temp files. The @@ -481,7 +481,7 @@ result will be delivered to the function registered as `mu4e-view-func'. Optionally DECRYPT and VERIFY." (mu4e~call-mu `(view :path ,path - :extract-images ,(if mu4e-view-show-images t nil) + :extract-images ,(if images t nil) :decrypt ,(and decrypt t) :verify ,(and verify t)))) diff --git a/mu4e/mu4e-view.el b/mu4e/mu4e-view.el index b124034a..b8dd0ffc 100644 --- a/mu4e/mu4e-view.el +++ b/mu4e/mu4e-view.el @@ -1508,7 +1508,7 @@ attachments) in response to a (mu4e~proc-extract 'temp ... )." ;; remember the mapping path->docid, which maps the path of the embedded ;; message to the docid of its parent (puthash path docid mu4e~path-parent-docid-map) - (mu4e~proc-view-path path mu4e-decryption-policy)) + (mu4e~proc-view-path path mu4e-view-show-images mu4e-decryption-policy)) ((string= what "emacs") (find-file path) ;; make the buffer read-only since it usually does not make