[gnus git] branch master updated: n0-15-74-g2c311f4 =1= gnus-registry.el (gnus-registry-action, gnus-registry-fetch-header-fast): Don't use mail-header that looks an internal function of mailheader.el.

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  2c311f43f25dbb0a0353712573d06496bd93ace2 (commit)
      from  e76d2a12c816ef66b2eed6f9548b55197e163a56 (commit)


- Log -----------------------------------------------------------------
commit 2c311f43f25dbb0a0353712573d06496bd93ace2
Author: Katsumi Yamaoka <[email protected]>
Date:   Wed Apr 20 00:38:49 2011 +0000

    gnus-registry.el (gnus-registry-action, gnus-registry-fetch-header-fast):
     Don't use mail-header that looks an internal function of mailheader.el.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f02ef8d..d137b42 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2011-04-20  Katsumi Yamaoka  <[email protected]>
+
+	* 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-19  Glenn Morris  <[email protected]>
 
 	* time-date.el (time-to-days): Remove unused local variables.
diff --git a/lisp/gnus-registry.el b/lisp/gnus-registry.el
index 697dc37..009786d 100644
--- a/lisp/gnus-registry.el
+++ b/lisp/gnus-registry.el
@@ -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

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog        |    6 ++++++
 lisp/gnus-registry.el |    8 ++++----
 2 files changed, 10 insertions(+), 4 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.