From: ueno Date: Sun, 30 Apr 2006 04:41:06 +0000 (+0000) Subject: * epg.el (epg-read-output): Don't convert line endings of the X-Git-Tag: epg-0_0_2~74 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=9218d91b34927ede5c1f473f5d86a0d33fe329f8;p=elisp%2Fepg.git * epg.el (epg-read-output): Don't convert line endings of the output file. --- diff --git a/ChangeLog b/ChangeLog index 6903a17..b13d7b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-04-30 Daiki Ueno + + * epg.el (epg-read-output): Don't convert line endings of the + output file. + 2006-04-29 Daiki Ueno * epg.el (epg-make-signature): Removed user-id; added diff --git a/epg.el b/epg.el index 8615667..02c1ff0 100644 --- a/epg.el +++ b/epg.el @@ -696,9 +696,7 @@ This function is for internal use only." (if (fboundp 'set-buffer-multibyte) (set-buffer-multibyte nil)) (if (file-exists-p (epg-context-output-file context)) - (let ((coding-system-for-read (if (epg-context-textmode context) - 'raw-text - 'binary))) + (let ((coding-system-for-read 'binary)) (insert-file-contents (epg-context-output-file context)) (buffer-string)))))