Commit 6b1f6ce9 authored by Katsumi Yamaoka's avatar Katsumi Yamaoka
Browse files

gnus-registry.el (gnus-registry-action, gnus-registry-fetch-header-fast):

 Don't use mail-header that looks an internal function of mailheader.el.
parent 602ea69d
2011-04-20 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-registry.el (gnus-registry-action)
(gnus-registry-fetch-header-fast):
Don't use mail-header that looks an internal function of mailheader.el.
2011-04-18 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-registry.el: Eliminate cl functions.
......
......@@ -304,8 +304,8 @@ This is not required after changing `gnus-registry-cache-file'."
(let* ((id (mail-header-id data-header))
(subject (mail-header-subject data-header))
(recipients (gnus-registry-sort-addresses
(or (ignore-errors (mail-header "Cc" data-header)) "")
(or (ignore-errors (mail-header "To" data-header)) "")))
(or (cdr (assq "Cc" data-header)) "")
(or (cdr (assq "To" data-header)) "")))
(sender (nth 0 (gnus-registry-extract-addresses
(mail-header-from data-header))))
(from (gnus-group-guess-full-name-from-command-method from))
......@@ -742,8 +742,8 @@ Addresses without a name will say \"noname\"."
(if (and (numberp article)
(assoc article (gnus-data-list nil)))
(gnus-string-remove-all-properties
(mail-header header (gnus-data-header
(assoc article (gnus-data-list nil)))))
(cdr (assq header (gnus-data-header
(assoc article (gnus-data-list nil))))))
nil))
;; registry marks glue
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment