From f0cbf1dd7cbb8cf05ebc01a28a3e7526983e96bc Mon Sep 17 00:00:00 2001 From: djcb Date: Sat, 4 Jul 2015 12:24:40 +0300 Subject: [PATCH] mu4e-view: small cleanup --- mu4e/mu4e-view.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mu4e/mu4e-view.el b/mu4e/mu4e-view.el index e584bea9..bde9be3f 100644 --- a/mu4e/mu4e-view.el +++ b/mu4e/mu4e-view.el @@ -170,12 +170,12 @@ message extracted at some path.") "View message with MSGID. This is meant for external programs wanting to show specific messages - for example, `mu4e-org'." - ;; note: hackish; if mu4e-decryption-policy is non-nil (ie., t or 'ask), we - ;; decrpt the message. Since here we don't know if message is encrypted or - ;; not, when the policy is 'ask'. we simply assume the user said yes... the - ;; alternative would be to ask for each message, encrypted or not. maybe we - ;; need an extra policy... - (let ((view-buffer (get-buffer "*mu4e-view*"))) + ;; note: hackish; if mu4e-decryption-policy is non-nil (ie., t or + ;; 'ask), we decrypt the message. Since here we don't know if + ;; message is encrypted or not, when the policy is 'ask'. we simply + ;; assume the user said yes... the alternative would be to ask for + ;; each message, encrypted or not. maybe we need an extra policy... + (let ((view-buffer (get-buffer mu4e~view-buffer-name))) (when view-buffer (kill-buffer view-buffer))) (mu4e~proc-view msgid mu4e-view-show-images mu4e-decryption-policy))