summaryrefslogtreecommitdiff
path: root/lisp/gnus/nnweb.el
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2007-01-09 05:40:39 +0000
committerMiles Bader <miles@gnu.org>2007-01-09 05:40:39 +0000
commitba3612110a09c4318cd7027adf478dde82e21cab (patch)
treed6529164fa3a07e9b7778254ca83b36085d77ae6 /lisp/gnus/nnweb.el
parente64666972e4d08ee3f83af024f3531c62ebebe0a (diff)
downloademacs-ba3612110a09c4318cd7027adf478dde82e21cab.tar.gz
Merge from gnus--rel--5.10
Patches applied: * gnus--rel--5.10 (patch 186-191) - Update from CVS Revision: emacs@sv.gnu.org/emacs--devo--0--patch-595
Diffstat (limited to 'lisp/gnus/nnweb.el')
-rw-r--r--lisp/gnus/nnweb.el9
1 files changed, 3 insertions, 6 deletions
diff --git a/lisp/gnus/nnweb.el b/lisp/gnus/nnweb.el
index d020d533aea..54c57879d5b 100644
--- a/lisp/gnus/nnweb.el
+++ b/lisp/gnus/nnweb.el
@@ -480,7 +480,7 @@ Valid types include `google', `dejanews', and `gmane'.")
(from (mail-header-from header))
(subject (mail-header-subject header))
(rfc2047-encoding-type 'mime))
- (when (string-match " \\([^:]+\\):\\([0-9]+\\)" xref)
+ (when (string-match " \\([^:]+\\)[:/]\\([0-9]+\\)" xref)
(mail-header-set-xref
header
(format "http://article.gmane.org/%s/%s/raw"
@@ -496,11 +496,8 @@ Valid types include `google', `dejanews', and `gmane'.")
(rfc2047-encode-string subject))
(unless (nnweb-get-hashtb (mail-header-xref header))
- (push
- (list
- (incf (cdr active))
- header)
- map)
+ (mail-header-set-number header (incf (cdr active)))
+ (push (list (mail-header-number header) header) map)
(nnweb-set-hashtb (cadar map) (car map))))))
(forward-line 1)))
(nnheader-message 7 "Searching Gmane...done")