Add autoload settings for `mime-entity-content' [to avoid warning].
authormorioka <morioka>
Sat, 24 Jul 1999 12:11:40 +0000 (12:11 +0000)
committermorioka <morioka>
Sat, 24 Jul 1999 12:11:40 +0000 (12:11 +0000)
(mime-insert-text-content): New method of `mime-entity' [moved from
mmbuffer.el].

mime-def.el

index 6b8effd..c67f413 100644 (file)
 (autoload 'mime-entity-content-type "mime")
 (autoload 'mime-parse-multipart "mime-parse")
 (autoload 'mime-parse-encapsulated "mime-parse")
+(autoload 'mime-entity-content "mime")
 
 (luna-define-class mime-entity ()
                   (location
           ))
     ))
 
+(luna-define-method mime-insert-text-content ((entity mime-entity))
+  (insert
+   (decode-mime-charset-string (mime-entity-content entity)
+                              (or (mime-content-type-parameter
+                                   (mime-entity-content-type entity)
+                                   "charset")
+                                  default-mime-charset)
+                              'CRLF)
+   ))
+
 
 ;;; @ for mm-backend
 ;;;