From: Vitaly Mayatskikh Date: Fri, 7 Nov 2008 10:01:07 +0000 (+0100) Subject: Fixed bug reported by Heinz Diehl: don't try to autodecrypt message in draft X-Git-Url: https://repo.or.cz/w/more-wl.git/commitdiff_plain/1eded63e424c38da4399f95fddcb3f1bc4c70d9c Fixed bug reported by Heinz Diehl: don't try to autodecrypt message in draft preview. --- diff --git a/wl/wl-draft.el b/wl/wl-draft.el index 73b6ad7..1b40de7 100644 --- a/wl/wl-draft.el +++ b/wl/wl-draft.el @@ -1282,7 +1282,8 @@ This variable is valid when `wl-interactive-send' has non-nil value." (condition-case nil (progn (when wl-draft-send-confirm-with-preview - (let (wl-draft-send-hook) + (let (wl-draft-send-hook + (pgg-decrypt-automatically nil)) (wl-draft-preview-message))) (save-excursion (goto-char (point-min)) ; to show recipients in header