Synch with Oort Gnus.
[elisp/gnus.git-] / lisp / mm-partial.el
index 216340c..7a4cd0b 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
@@ -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)
@@ -142,8 +143,8 @@ If NO-DISPLAY is nil, display it. Otherwise, do nothing after replacing."
                (condition-case nil
                    ;; This is only valid on XEmacs.
                    (mapcar (lambda (prop)
-                           (remove-specifier
-                            (face-property 'default prop) (current-buffer)))
+                             (remove-specifier
+                              (face-property 'default prop) (current-buffer)))
                            '(background background-pixmap foreground))
                  (error nil))
                (delete-region ,(point-min-marker) ,(point-max-marker))))))))))