(mime-root-entity-p): New function.
authormorioka <morioka>
Sun, 15 Mar 1998 13:28:14 +0000 (13:28 +0000)
committermorioka <morioka>
Sun, 15 Mar 1998 13:28:14 +0000 (13:28 +0000)
mime-parse.el

index f63752a..493bbcb 100644 (file)
@@ -273,6 +273,14 @@ mime-{parse|read}-Content-Type."
       )))
 
 
+;;; @ utilities
+;;;
+
+(defsubst mime-root-entity-p (entity)
+  "Return t if ENTITY is root-entity (message)."
+  (null (mime-entity-node-id entity)))
+
+
 ;;; @ end
 ;;;