(epa-verify-region): Decode the plaintext by
[elisp/epg.git] / epa-file.el
index 66ed5b9..a6a800e 100644 (file)
@@ -152,7 +152,10 @@ May either be a string or a list of strings.")
   (if (and visit (or beg end))
       (error "Attempt to visit less than an entire file"))
   (setq file (expand-file-name file))
-  (let* ((local-copy (epa-file-run-real-handler #'file-local-copy (list file)))
+  (let* ((local-copy
+         (condition-case inl
+             (epa-file-run-real-handler #'file-local-copy (list file))
+           (error)))
         (local-file (or local-copy file))
         (context (epg-make-context))
         string length entry)