* wl/wl-summary.el (wl-summary-mode): Check with fboundp before calling `make-local...
[elisp/wanderlust.git] / elmo / mmimap.el
index b8a167c..70799fa 100644 (file)
@@ -31,7 +31,6 @@
 (require 'mmgeneric)
 (require 'mime)
 (require 'pces)
-(require 'static)
 (require 'mime-parse)
 
 (eval-and-compile
@@ -61,6 +60,8 @@ SECTION is a section string which is defined in RFC2060.")
 (defun mmimap-entity-section (node-id)
   "Return a section string from NODE-ID"
   (cond
+   ((null node-id)
+    "1")
    ((numberp node-id)
     (number-to-string (1+ node-id)))
    ((listp node-id)
@@ -146,7 +147,7 @@ CLASS, LOCATION, NODE-ID, PARENT are set to the returned entity."
           entity
           (list (mmimap-make-mime-entity
                  (nth 8 bodystructure) class
-                 location node-id 0
+                 location node-id nil
                  entity))))
       entity))))