gnus-start.el (gnus-1): Avoid duplicate entries
authorLeo Liu <sdl.web@gmail.com>
Thu, 16 Feb 2012 22:12:52 +0000 (22:12 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 16 Feb 2012 22:12:52 +0000 (22:12 +0000)
lisp/ChangeLog
lisp/gnus-start.el

index 742beea..70438d6 100644 (file)
@@ -1,3 +1,7 @@
+2012-02-16  Leo Liu  <sdl.web@gmail.com>
+
+       * gnus-start.el (gnus-1): Avoid duplicate entries.
+
 2012-02-16  Lars Ingebrigtsen  <larsi@gnus.org>
 
        * mm-decode.el (mm-dissect-singlepart): Guess what the type of
index 428c213..c4603b5 100644 (file)
@@ -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))