projects
/
elisp
/
gnus.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Synch with Oort Gnus.
[elisp/gnus.git-]
/
lisp
/
mm-partial.el
diff --git
a/lisp/mm-partial.el
b/lisp/mm-partial.el
index
d05283c
..
7a4cd0b
100644
(file)
--- a/
lisp/mm-partial.el
+++ b/
lisp/mm-partial.el
@@
-1,5
+1,5
@@
;;; mm-partial.el --- showing message/partial
;;; 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
;; Author: Shenghuo Zhu <zsh@cs.rochester.edu>
;; Keywords: message partial
@@
-25,8
+25,7
@@
;;; Code:
;;; Code:
-(eval-when-compile
- (require 'cl))
+(eval-when-compile (require 'cl))
(require 'gnus-sum)
(require 'mm-util)
(require 'gnus-sum)
(require 'mm-util)
@@
-43,7
+42,8
@@
(gnus-request-article-this-buffer (aref header 0)
gnus-newsgroup-name)
(when (search-forward id nil t)
(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
(if (consp (car nhandles))
(mm-destroy-parts nhandles)
(setq nid (cdr (assq 'id
@@
-66,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
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
(setq phandles
(sort (cons handle
(mm-partial-find-parts
@@
-96,7
+96,7
@@
If NO-DISPLAY is nil, display it. Otherwise, do nothing after replacing."
(if ntotal
(if total
(unless (eq total ntotal)
(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)
(setq total ntotal)))
(unless (< nn n)
(unless (eq nn n)
@@
-143,10
+143,12
@@
If NO-DISPLAY is nil, display it. Otherwise, do nothing after replacing."
(condition-case nil
;; This is only valid on XEmacs.
(mapcar (lambda (prop)
(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))))))))))
'(background background-pixmap foreground))
(error nil))
(delete-region ,(point-min-marker) ,(point-max-marker))))))))))
-;; mm-partial.el ends here
+(provide 'mm-partial)
+
+;;; mm-partial.el ends here