(mime-view-application/pgp): Use `mime-entity-cooked-p'.
authormorioka <morioka>
Mon, 29 Jun 1998 00:07:56 +0000 (00:07 +0000)
committermorioka <morioka>
Mon, 29 Jun 1998 00:07:56 +0000 (00:07 +0000)
mime-pgp.el

index 1324a7b..67fbb6e 100644 (file)
@@ -92,7 +92,8 @@
           (while (re-search-forward "^- -" nil t)
             (replace-match "-")
             )
-          (setq representation-type (mime-entity-representation-type entity))
+          (setq representation-type (if (mime-entity-cooked-p entity)
+                                        'cooked))
           )
          ((progn
             (goto-char (point-min))