Change default type of open-protocol-stream.
commite742e11707450212291d8e1c1bc13fbe51de1cb2
authorChong Yidong <cyd@stupidchicken.com>
Wed, 30 Mar 2011 02:21:28 +0000 (29 22:21 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 30 Mar 2011 02:21:28 +0000 (29 22:21 -0400)
tree24c9483345411b11befee44b72bb713f62f7b14b
parenteb7ffc147d1b6910e73b5323ecfa4cc45f7464a4
Change default type of open-protocol-stream.

* nnimap.el (nnimap-stream, nnimap-open-connection-1): Accept `network'
value.

* nntp.el (nntp-open-connection-function): Document the fact that some
values are not functions but are instead handled specially.  Recognize
nntp-open-plain-stream value.
(nntp-open-connection): Recognize that value.

* proto-stream.el (open-protocol-stream): Bring back `network' type.
Make this the default type.
(proto-stream-open-plain): Rename from proto-stream-open-default.
(open-protocol-stream, proto-stream-open-starttls)
(proto-stream-open-tls, proto-stream-open-shell): Replace `default'
with `plain'.
lisp/gnus/ChangeLog
lisp/gnus/nnimap.el
lisp/gnus/nntp.el
lisp/gnus/proto-stream.el