Mercurial > hg > xemacs-beta
diff lisp/gnus/gnus-dup.el @ 108:360340f9fd5f r20-1b6
Import from CVS: tag r20-1b6
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:18:39 +0200 |
parents | 0d2f883870bc |
children |
line wrap: on
line diff
--- a/lisp/gnus/gnus-dup.el Mon Aug 13 09:17:27 2007 +0200 +++ b/lisp/gnus/gnus-dup.el Mon Aug 13 09:18:39 2007 +0200 @@ -83,7 +83,7 @@ ;; Enter all Message-IDs into the hash table. (let ((list gnus-dup-list) (obarray gnus-dup-hashtb)) - (while list + (while list (intern (pop list))))) (defun gnus-dup-read () @@ -125,7 +125,7 @@ (intern msgid gnus-dup-hashtb)))) ;; Chop off excess Message-IDs from the list. (let ((end (nthcdr gnus-duplicate-list-length gnus-dup-list))) - (when end + (when end (setcdr end nil)))) (defun gnus-dup-suppress-articles () @@ -138,7 +138,7 @@ (while (setq header (pop headers)) (when (and (intern-soft (mail-header-id header) gnus-dup-hashtb) (gnus-summary-article-unread-p (mail-header-number header))) - (setq gnus-newsgroup-unreads + (setq gnus-newsgroup-unreads (delq (setq number (mail-header-number header)) gnus-newsgroup-unreads)) (push (cons number gnus-duplicate-mark)