From: tomo Date: Wed, 21 Jun 2000 12:32:04 +0000 (+0000) Subject: (mime-entity-children): Deleted. X-Git-Tag: chao-1_14_0-1~4 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=a418cae5075608e06f5013376b7819ab99566660;p=elisp%2Fflim.git (mime-entity-children): Deleted. --- diff --git a/mmgeneric.el b/mmgeneric.el index 034ed23..84d481b 100644 --- a/mmgeneric.el +++ b/mmgeneric.el @@ -32,8 +32,9 @@ (autoload 'mime-entity-content-type "mime") (autoload 'mime-parse-multipart "mime-parse") -(autoload 'mime-parse-encapsulated "mime-parse") -(autoload 'mime-parse-external "mime-parse") +(autoload 'mime-parse-message "mime-parse") +;; (autoload 'mime-parse-encapsulated "mime-parse") +;; (autoload 'mime-parse-external "mime-parse") (autoload 'mime-entity-content "mime") (luna-define-class mime-entity () @@ -56,22 +57,6 @@ (cdr (assq field-name (mime-entity-original-header-internal entity)))) -(luna-define-method mime-entity-children ((entity mime-entity)) - (let* ((content-type (mime-entity-content-type entity)) - (primary-type (mime-content-type-primary-type content-type)) - sub-type) - (cond ((eq primary-type 'multipart) - (mime-parse-multipart entity)) - ((eq primary-type 'message) - (setq sub-type (mime-content-type-subtype content-type)) - (cond ((eq sub-type 'external-body) - (mime-parse-external entity)) - ((memq sub-type '(rfc822 news)) - (mime-parse-encapsulated entity) - ;; [tomo] Should we make a variable to specify - ;; encapsulated media-types? - )))))) - (luna-define-method mime-insert-text-content ((entity mime-entity)) (insert (decode-mime-charset-string (mime-entity-content entity)