(epa-last-coding-system-specified): New variable.
[elisp/epg.git] / epg.el
diff --git a/epg.el b/epg.el
index 515110f..e445aec 100644 (file)
--- a/epg.el
+++ b/epg.el
@@ -2224,7 +2224,7 @@ If you are unsure, use synchronous version of this function
   "Extract public KEYS."
   (unwind-protect
       (progn
-       (if keys
+       (if file
            (epg-context-set-output-file context file)
          (epg-context-set-output-file context
                                       (epg--make-temp-file "epg-output")))