From: Daiki Ueno Date: Mon, 30 Jul 2007 06:30:33 +0000 (+0000) Subject: * epa-file.el (epa-file-insert-file-contents): Ignore errors from X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=46efd5a10432631b4d3b9c449d6459deeb70554f;hp=e0f52d3da1e755ae723f398765ea431d1decae5d;p=epg%2Fepg.git * epa-file.el (epa-file-insert-file-contents): Ignore errors from file-local-copy. --- diff --git a/ChangeLog b/ChangeLog index 4065545..24b5a99 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-07-30 Daiki Ueno + + * epa-file.el (epa-file-insert-file-contents): Ignore errors from + file-local-copy. + 2007-07-29 Daiki Ueno * EasyPG: Version 0.0.14 released. diff --git a/epa-file.el b/epa-file.el index 66ed5b9..a6a800e 100644 --- a/epa-file.el +++ b/epa-file.el @@ -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)