(gnus-get-unread-articles): Fix previous commit.
[gnus] / lisp / mm-partial.el
index d4cca04..693e8e9 100644 (file)
@@ -1,5 +1,5 @@
 ;;; mm-partial.el --- showing message/partial
-;; Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+;; Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
 
 ;; Author: Shenghuo Zhu <zsh@cs.rochester.edu>
 ;; Keywords: message partial
@@ -42,7 +42,8 @@
          (gnus-request-article-this-buffer (aref header 0)
                                            gnus-newsgroup-name)
          (when (search-forward id nil t)
-           (let ((nhandles (mm-dissect-buffer)) nid)
+           (let ((nhandles (mm-dissect-buffer
+                            nil gnus-article-loose-mime)) nid)
              (if (consp (car nhandles))
                  (mm-destroy-parts nhandles)
                (setq nid (cdr (assq 'id
@@ -65,7 +66,7 @@ If NO-DISPLAY is nil, display it. Otherwise, do nothing after replacing."
        gnus-displaying-mime handles buffer)
     (unless (mm-handle-cache handle)
       (unless id
-       (error "Can not find message/partial id."))
+       (error "Can not find message/partial id"))
       (setq phandles
            (sort (cons handle
                        (mm-partial-find-parts
@@ -95,7 +96,7 @@ If NO-DISPLAY is nil, display it. Otherwise, do nothing after replacing."
          (if ntotal
              (if total
                  (unless (eq total ntotal)
-                 (error "The numbers of total are different."))
+                 (error "The numbers of total are different"))
                (setq total ntotal)))
          (unless (< nn n)
            (unless (eq nn n)
@@ -148,4 +149,7 @@ If NO-DISPLAY is nil, display it. Otherwise, do nothing after replacing."
                  (error nil))
                (delete-region ,(point-min-marker) ,(point-max-marker))))))))))
 
+(provide 'mm-partial)
+
+;;; arch-tag: 460e7424-05f2-4a1d-a0f2-70ec081eff7d
 ;;; mm-partial.el ends here