[gnus git] branch master updated: m0-3-11-g6e24886 =1= gnus-start.el (gnus-1): Avoid duplicate entries

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  6e248869f1a01abc237d45f2f853f6cef0bcb692 (commit)
      from  4d23aeda8e05857c6f22e4672b998b769ffe4f77 (commit)


- Log -----------------------------------------------------------------
commit 6e248869f1a01abc237d45f2f853f6cef0bcb692
Author: Leo Liu <[email protected]>
Date:   Thu Feb 16 22:12:52 2012 +0000

    gnus-start.el (gnus-1): Avoid duplicate entries

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 742beea..70438d6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2012-02-16  Leo Liu  <[email protected]>
+
+	* gnus-start.el (gnus-1): Avoid duplicate entries.
+
 2012-02-16  Lars Ingebrigtsen  <[email protected]>
 
 	* mm-decode.el (mm-dissect-singlepart): Guess what the type of
diff --git a/lisp/gnus-start.el b/lisp/gnus-start.el
index 428c213..c4603b5 100644
--- a/lisp/gnus-start.el
+++ b/lisp/gnus-start.el
@@ -763,8 +763,8 @@ prompt the user for the name of an NNTP server to use."
     ;; Add "native" to gnus-predefined-server-alist just to have a
     ;; name for the native select method.
     (when gnus-select-method
-      (push (cons "native" gnus-select-method)
-	    gnus-predefined-server-alist))
+      (add-to-list 'gnus-predefined-server-alist
+		   (cons "native" gnus-select-method)))
 
     (if gnus-agent
 	(gnus-agentize))

-----------------------------------------------------------------------
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     |    4 ++++
 lisp/gnus-start.el |    4 ++--
 2 files changed, 6 insertions(+), 2 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.