[gnus git] branch no-gnus updated: m0-1-59-g65d7f5e =1= gnus-start.el (gnus-1): Avoid duplicate entries

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  65d7f5e5ad3708684dd19a170958f599acdd6dca (commit)
      from  c65f964d37feb0a2b8a30040a59a3da6d853d236 (commit)


- Log -----------------------------------------------------------------
commit 65d7f5e5ad3708684dd19a170958f599acdd6dca
Author: Leo Liu <[email protected]>
Date:   Thu Feb 16 22:12:49 2012 +0000

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

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ea25f26..9e565fe 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-15  Lars Ingebrigtsen  <[email protected]>
 
 	* shr.el (shr-remove-trailing-whitespace): Really delete the padding on
diff --git a/lisp/gnus-start.el b/lisp/gnus-start.el
index 801f772..ad2d713 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, no-gnus 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.