]> git.eshelyaron.com Git - emacs.git/commit
Allow open-network-stream to use different TLS capability commands
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 19 Jul 2020 00:56:40 +0000 (02:56 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 19 Jul 2020 00:56:40 +0000 (02:56 +0200)
commit17f646128f04e9e8590f0371026a14d516f21c63
tree50e9cba5cc2bca35f7943ae285fcbbc9c6d21139
parent42b33405c2c5aef43439ec7e9e9e690b948cc4b1
Allow open-network-stream to use different TLS capability commands

* doc/lispref/processes.texi (Network): Document non-string
capability command.
* lisp/gnus/nntp.el (nntp-open-connection): Use HELP for Typhoon
and CAPABILITIES for everything else (bug#41960).

* lisp/net/network-stream.el (open-network-stream): Document
function variety of :capability-command.
(network-stream-open-starttls): Use it.
(network-stream-open-tls): Ditto.
(network-stream-open-shell): Ditto.
(network-stream--capability-command): New helper function.
doc/lispref/processes.texi
etc/NEWS
lisp/gnus/nntp.el
lisp/net/network-stream.el