From: ueno Date: Tue, 30 May 2006 09:41:14 +0000 (+0000) Subject: * epa-file.el (epa-file-insert-file-contents): X-Git-Tag: epg-0_0_3~8 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=a68ad5e40bfc7bd7a553e4b64e47f6962b23734d;p=elisp%2Fepg.git * epa-file.el (epa-file-insert-file-contents): Decode the decrypted text with coding-system-for-read. --- diff --git a/ChangeLog b/ChangeLog index a27efd0..99e6fd3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-05-30 Daiki Ueno + + * epa-file.el (epa-file-insert-file-contents): + Decode the decrypted text with coding-system-for-read. + 2006-05-29 Daiki Ueno * EasyPG: Version 0.0.2 released. diff --git a/epa-file.el b/epa-file.el index b2466d9..e991ab4 100644 --- a/epa-file.el +++ b/epa-file.el @@ -92,7 +92,7 @@ (condition-case error (setq string (decode-coding-string (epg-decrypt-file context file nil) - 'undecided)) + (or coding-system-for-read 'undecided))) (error (if (setq entry (assoc file epa-file-passphrase-alist)) (setcdr entry nil))