This commit was generated by cvs2svn to compensate for changes in r416,
[elisp/tm.git] / tm-pgp.el
index 6cc7378..4e8635e 100644 (file)
--- a/tm-pgp.el
+++ b/tm-pgp.el
@@ -8,7 +8,7 @@
 ;;; Maintainer: MORIOKA Tomohiko <morioka@jaist.ac.jp>
 ;;; Created: 1995/12/7
 ;;; Version:
-;;;    $Id: tm-pgp.el,v 7.16 1996/06/27 14:26:56 morioka Exp $
+;;;    $Id: tm-pgp.el,v 7.18 1996/07/15 14:03:34 morioka Exp $
 ;;; Keywords: mail, news, MIME, multimedia, PGP, security
 ;;;
 ;;; This file is part of tm (Tools for MIME).
        (replace-match "\r\n")
        )
       (let ((mc-flag nil)                   ; for Mule
-           (file-coding-system
-            (if (featurep 'mule) *noconv*))
+           (file-coding-system *noconv*)
            kanji-flag                      ; for NEmacs
            (emx-binary-mode t)             ; for OS/2
            jka-compr-compression-info-list ; for jka-compr
       (kill-buffer (current-buffer))
       )
     (save-excursion
+      (mime-article/show-output-buffer)
+      )
+    (save-excursion
       (setq str (buffer-substring
                 (save-excursion
                   (goto-char beg)
       (insert str)
       (mime-decode-region (point-min)(point-max) encoding)
       (let ((mc-flag nil)                   ; for Mule
-           (file-coding-system
-            (if (featurep 'mule) *noconv*))
+           (file-coding-system *noconv*)
            kanji-flag                      ; for NEmacs
            (emx-binary-mode t)             ; for OS/2
            jka-compr-compression-info-list ; for jka-compr
            require-final-newline)
        (write-file sig-file)
        )
-      ;;(define-program-coding-system (current-buffer) "pgp" *noconv*)
-      (mime-article/show-output-buffer)
       ;;(get-buffer-create mime/output-buffer-name)
       (or (mime::article/call-pgp-to-check-signature
           mime/output-buffer-name orig-file)