Commit 74db95ca authored by Leo Liu's avatar Leo Liu
Browse files

Use add-to-list instead of push in gnus-1

to avoid duplicate entries.
parent d1354af0
2012-02-16 Leo Liu <sdl.web@gmail.com>
* gnus-start.el (gnus-1): Avoid duplicate entries.
2012-02-15 Lars Ingebrigtsen <larsi@gnus.org>
 
* shr.el (shr-remove-trailing-whitespace): Really delete the padding on
......
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment