Make epg-last-status buffer local.
authorueno <ueno>
Tue, 30 Jan 2007 05:41:43 +0000 (05:41 +0000)
committerueno <ueno>
Tue, 30 Jan 2007 05:41:43 +0000 (05:41 +0000)
epg.el

diff --git a/epg.el b/epg.el
index 89a78b8..55e8d08 100644 (file)
--- a/epg.el
+++ b/epg.el
@@ -1101,7 +1101,9 @@ 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))
+      (setq epg-context context)
+      (make-local-variable 'epg-last-status)
+      (setq epg-last-status nil))
     (unwind-protect
        (progn
          (set-default-file-modes 448)