Reverted.
authorueno <ueno>
Tue, 19 Dec 2006 08:54:40 +0000 (08:54 +0000)
committerueno <ueno>
Tue, 19 Dec 2006 08:54:40 +0000 (08:54 +0000)
epa.el

diff --git a/epa.el b/epa.el
index bd67eb8..b9c55d2 100644 (file)
--- a/epa.el
+++ b/epa.el
@@ -809,18 +809,10 @@ d - Create a detached signature
   (save-excursion
     (let ((context (epg-make-context))
          signature)
-      (if (memq mode '(t detached nil normal))
-         ;; Normal or detached signature.
-         (progn
-           ;;(epg-context-set-armor context epa-armor)
-           (epg-context-set-armor context t)
-           ;;(epg-context-set-textmode context epa-textmode)
-           (epg-context-set-textmode context t))
-       ;; Cleartext signature.
-       ;;(epg-context-set-armor context epa-armor)
-       (epg-context-set-armor context nil)
-       ;;(epg-context-set-textmode context epa-textmode)
-       (epg-context-set-textmode context nil))
+      ;;(epg-context-set-armor context epa-armor)
+      (epg-context-set-armor context t)
+      ;;(epg-context-set-textmode context epa-textmode)
+      (epg-context-set-textmode context t)
       (epg-context-set-signers context signers)
       (epg-context-set-passphrase-callback context
                                           #'epa-passphrase-callback-function)