(initialize-instance): Don't setup `mime-message-structure'.
authortomo <tomo>
Fri, 3 Mar 2000 08:02:57 +0000 (08:02 +0000)
committertomo <tomo>
Fri, 3 Mar 2000 08:02:57 +0000 (08:02 +0000)
mmbuffer.el
mmdbuffer.el

index c0a458b..8080d03 100644 (file)
@@ -45,8 +45,6 @@
        entity (mime-entity-location-internal entity)))
   (save-excursion
     (set-buffer (mime-buffer-entity-buffer-internal entity))
-    (if (mime-root-entity-p entity)
-       (setq mime-message-structure entity))
     (let ((header-start
           (or (mime-buffer-entity-header-start-internal entity)
               (mime-buffer-entity-set-header-start-internal
index c205957..5a1ae20 100644 (file)
 
 (luna-define-method initialize-instance :after ((entity mime-dual-entity)
                                                &rest init-args)
-  (let (buf)
-    (setq buf (mime-dual-entity-header-buffer-internal entity))
+  (let ((buf (mime-dual-entity-header-buffer-internal entity)))
     (if buf
        (with-current-buffer buf
-         (if (mime-root-entity-p entity)
-             (setq mime-message-structure entity))
          (or (mime-entity-content-type-internal entity)
              (mime-entity-set-content-type-internal
               entity
               (let ((str (std11-fetch-field "Content-Type")))
                 (if str
                     (mime-parse-Content-Type str)
-                  ))))))
-    (setq buf (mime-dual-entity-body-buffer-internal entity))
-    (if buf
-       (with-current-buffer buf
-         (if (mime-root-entity-p entity)
-             (setq mime-message-structure entity))))
-    ) entity)
+                  )))))))
+  entity)
 
 (luna-define-method mime-entity-name ((entity mime-dual-entity))
   (buffer-name (mime-dual-entity-header-buffer-internal entity))