Function: mm-partial-find-parts
mm-partial-find-parts is a byte-compiled function defined in
mm-partial.el.gz.
Signature
(mm-partial-find-parts ID &optional ART)
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/mm-partial.el.gz
(defun mm-partial-find-parts (id &optional art)
(let ((headers (with-current-buffer gnus-summary-buffer
gnus-newsgroup-headers))
phandles header)
(while (setq header (pop headers))
(unless (eq (aref header 0) art)
(mm-with-unibyte-buffer
(gnus-request-article-this-buffer (aref header 0)
gnus-newsgroup-name)
(when (search-forward id nil t)
(let ((nhandles (mm-dissect-buffer
nil gnus-article-loose-mime))
nid)
(if (consp (car nhandles))
(mm-destroy-parts nhandles)
(setq nid (cdr (assq 'id
(cdr (mm-handle-type nhandles)))))
(if (not (equal id nid))
(mm-destroy-parts nhandles)
(push nhandles phandles))))))))
phandles))