mirror of https://github.com/djcb/mu.git
parent
6b32794f0e
commit
6d73ca8ec3
|
@ -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))))
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue