mu4e-view: small cleanup
This commit is contained in:
@ -170,12 +170,12 @@ message extracted at some path.")
|
|||||||
"View message with MSGID.
|
"View message with MSGID.
|
||||||
This is meant for external programs wanting to show specific
|
This is meant for external programs wanting to show specific
|
||||||
messages - for example, `mu4e-org'."
|
messages - for example, `mu4e-org'."
|
||||||
;; note: hackish; if mu4e-decryption-policy is non-nil (ie., t or 'ask), we
|
;; note: hackish; if mu4e-decryption-policy is non-nil (ie., t or
|
||||||
;; decrpt the message. Since here we don't know if message is encrypted or
|
;; 'ask), we decrypt the message. Since here we don't know if
|
||||||
;; not, when the policy is 'ask'. we simply assume the user said yes... the
|
;; message is encrypted or not, when the policy is 'ask'. we simply
|
||||||
;; alternative would be to ask for each message, encrypted or not. maybe we
|
;; assume the user said yes... the alternative would be to ask for
|
||||||
;; need an extra policy...
|
;; each message, encrypted or not. maybe we need an extra policy...
|
||||||
(let ((view-buffer (get-buffer "*mu4e-view*")))
|
(let ((view-buffer (get-buffer mu4e~view-buffer-name)))
|
||||||
(when view-buffer
|
(when view-buffer
|
||||||
(kill-buffer view-buffer)))
|
(kill-buffer view-buffer)))
|
||||||
(mu4e~proc-view msgid mu4e-view-show-images mu4e-decryption-policy))
|
(mu4e~proc-view msgid mu4e-view-show-images mu4e-decryption-policy))
|
||||||
|
|||||||
Reference in New Issue
Block a user