diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2017-01-26 19:41:56 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2017-01-26 19:46:27 +0100 |
commit | d32623f040272d9c3bc46b2b1b37c986e7fb8bf1 (patch) | |
tree | c064e8689e1390e62bc5b02ef8a48d39cceef259 /lisp/net/network-stream.el | |
parent | 079b6bebcbf4d556c8d45a667d8e95dcb350dc3f (diff) | |
download | emacs-d32623f040272d9c3bc46b2b1b37c986e7fb8bf1.tar.gz |
Document :shell-command in `make-network-process'
* doc/lispref/processes.texi (Network): Document :shell-command.
* lisp/net/network-stream.el (open-network-stream): Document
the :shell-command parameter (bug#20651).
Diffstat (limited to 'lisp/net/network-stream.el')
-rw-r--r-- | lisp/net/network-stream.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/net/network-stream.el b/lisp/net/network-stream.el index 93e1bae5fc2..bf60eee673c 100644 --- a/lisp/net/network-stream.el +++ b/lisp/net/network-stream.el @@ -139,6 +139,10 @@ a greeting from the server. :nowait, if non-nil, says the connection should be made asynchronously, if possible. +:shell-command is a format-spec string that can be used if :type +is `shell'. It has two specs, %s for host and %p for port +number. Example: \"ssh gateway nc %s %p\". + :tls-parameters is a list that should be supplied if you're opening a TLS connection. The first element is the TLS type (either `gnutls-x509pki' or `gnutls-anon'), and the |