Mercurial > hg > xemacs-beta
diff lisp/gnus/gnus-srvr.el @ 26:441bb1e64a06 r19-15b96
Import from CVS: tag r19-15b96
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:51:32 +0200 |
parents | 4103f0995bd7 |
children | 1917ad0d78d7 |
line wrap: on
line diff
--- a/lisp/gnus/gnus-srvr.el Mon Aug 13 08:51:05 2007 +0200 +++ b/lisp/gnus/gnus-srvr.el Mon Aug 13 08:51:32 2007 +0200 @@ -207,10 +207,11 @@ (setq gnus-inserted-opened-servers nil) ;; First we do the real list of servers. (while alist - (push (caar alist) done) - (cdr (setq server (pop alist))) - (when (and server (car server) (cdr server)) - (gnus-server-insert-server-line (car server) (cdr server)))) + (unless (member (caar alist) done) + (push (caar alist) done) + (cdr (setq server (pop alist))) + (when (and server (car server) (cdr server)) + (gnus-server-insert-server-line (car server) (cdr server))))) ;; Then we insert the list of servers that have been opened in ;; this session. (while opened