(mime-add-application/pgp-keys): Use `mime-entity-number' instead of
authormorioka <morioka>
Wed, 28 Jul 1999 14:28:00 +0000 (14:28 +0000)
committermorioka <morioka>
Wed, 28 Jul 1999 14:28:00 +0000 (14:28 +0000)
`mime-raw-point-to-entity-number'.

mime-pgp.el

index fd0203a..b26230d 100644 (file)
@@ -225,7 +225,7 @@ It should be ISO 639 2 letter language code such as en, ja, ...")
 (defun mime-add-application/pgp-keys (entity situation)
   (let* ((start (mime-entity-point-min entity))
         (end (mime-entity-point-max entity))
-        (entity-number (mime-raw-point-to-entity-number start))
+        (entity-number (mime-entity-number entity))
         (new-name (format "%s-%s" (buffer-name) entity-number))
         (encoding (cdr (assq 'encoding situation)))
         str)