Fixed.
authorueno <ueno>
Wed, 12 Apr 2006 02:38:45 +0000 (02:38 +0000)
committerueno <ueno>
Wed, 12 Apr 2006 02:38:45 +0000 (02:38 +0000)
epg.el

diff --git a/epg.el b/epg.el
index 0299480..241ee92 100644 (file)
--- a/epg.el
+++ b/epg.el
@@ -262,9 +262,9 @@ This function is for internal use only."
   (with-temp-buffer
     (set-buffer-multibyte nil)
     (if (file-exists-p (epg-context-output-file context))
-       (let ((coding-system-for-read (if (epg-context-output-file context)
+       (let ((coding-system-for-read (if (epg-context-textmode context)
                                          'raw-text
-                                     'binary)))
+                                       'binary)))
          (insert-file-contents (epg-context-output-file context))
          (buffer-string)))))