(mime-preview-follow-current-entity): Don't copy header if current
authormorioka <morioka>
Sat, 27 Mar 1999 15:29:46 +0000 (15:29 +0000)
committermorioka <morioka>
Sat, 27 Mar 1999 15:29:46 +0000 (15:29 +0000)
entity is root.

mime-view.el

index 14bca3c..baefb57 100644 (file)
@@ -1185,9 +1185,10 @@ It calls following-method selected from variable
                           (concat "^"
                                   (apply (function regexp-or) fields)
                                   ":") ""))))
-                    (if (and
-                         (eq (mime-entity-media-type ci) 'message)
-                         (eq (mime-entity-media-subtype ci) 'rfc822))
+                    (if (or (null entity-node-id)
+                            (and
+                             (eq (mime-entity-media-type ci) 'message)
+                             (eq (mime-entity-media-subtype ci) 'rfc822)))
                         nil
                       (if str
                           (insert str)