From d9e0bf7c6f350db1c342d7dc41bcc2b0ff558829 Mon Sep 17 00:00:00 2001 From: Titus von der Malsburg Date: Thu, 2 Jul 2015 18:01:47 -0700 Subject: [PATCH] mu4e: Added workaround for #417. --- mu4e/mu4e-view.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mu4e/mu4e-view.el b/mu4e/mu4e-view.el index a102683e..cf66f06b 100644 --- a/mu4e/mu4e-view.el +++ b/mu4e/mu4e-view.el @@ -175,6 +175,8 @@ messages - for example, `mu4e-org'." ;; 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... + (if-let ((view-buffer (get-buffer "*mu4e-view*"))) + (kill-buffer view-buffer)) (mu4e~proc-view msgid mu4e-view-show-images mu4e-decryption-policy)) (defun mu4e~view-custom-field (msg field)