(mime-edit-decode-buffer): Use 'mime-content-type-primary-type,
authormorioka <morioka>
Mon, 11 May 1998 14:40:47 +0000 (14:40 +0000)
committermorioka <morioka>
Mon, 11 May 1998 14:40:47 +0000 (14:40 +0000)
'mime-content-type-subtype and 'mime-content-type-parameters.

mime-edit.el

index b9f0d3e..4209551 100644 (file)
@@ -2553,10 +2553,9 @@ Content-Type: message/partial; id=%s; number=%d; total=%d\n%s\n"
     (goto-char (point-min))
     (let ((ctl (mime-read-Content-Type)))
       (if ctl
-         (let ((type (car ctl))
-               (stype (car (cdr ctl)))
-               (params (cdr (cdr ctl)))
-               )
+         (let ((type (mime-content-type-primary-type ctl))
+               (stype (mime-content-type-subtype ctl))
+               (params (mime-content-type-parameters ctl)))
            (cond
             ((and (eq type 'application)(eq stype 'pgp-signature))
              (delete-region (point-min)(point-max))