Fixed.
authorueno <ueno>
Tue, 30 Jan 2007 05:42:05 +0000 (05:42 +0000)
committerueno <ueno>
Tue, 30 Jan 2007 05:42:05 +0000 (05:42 +0000)
epg.el

diff --git a/epg.el b/epg.el
index 55e8d08..79a03c6 100644 (file)
--- a/epg.el
+++ b/epg.el
@@ -1092,6 +1092,8 @@ This function is for internal use only."
                           epg-gpg-program)
                          (mapconcat #'identity args " ")))))
     (with-current-buffer buffer
+      (make-local-variable 'epg-last-status)
+      (setq epg-last-status nil)
       (make-local-variable 'epg-read-point)
       (setq epg-read-point (point-min))
       (make-local-variable 'epg-process-filter-running)
@@ -1101,9 +1103,7 @@ This function is for internal use only."
       (make-local-variable 'epg-key-id)
       (setq epg-key-id nil)
       (make-local-variable 'epg-context)
-      (setq epg-context context)
-      (make-local-variable 'epg-last-status)
-      (setq epg-last-status nil))
+      (setq epg-context context))
     (unwind-protect
        (progn
          (set-default-file-modes 448)