Fixed bug reported by Heinz Diehl: don't try to autodecrypt message in draft
authorVitaly Mayatskikh <vitaly@gravicappa.englab.brq.redhat.com>
Fri, 7 Nov 2008 10:01:07 +0000 (7 11:01 +0100)
committerVitaly Mayatskikh <vitaly@gravicappa.englab.brq.redhat.com>
Fri, 7 Nov 2008 10:01:07 +0000 (7 11:01 +0100)
preview.

wl/wl-draft.el

index 73b6ad7..1b40de7 100644 (file)
@@ -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