aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLars Ingebrigtsen2017-01-26 19:41:56 +0100
committerLars Ingebrigtsen2017-01-26 19:46:27 +0100
commitd32623f040272d9c3bc46b2b1b37c986e7fb8bf1 (patch)
treec064e8689e1390e62bc5b02ef8a48d39cceef259 /doc
parent079b6bebcbf4d556c8d45a667d8e95dcb350dc3f (diff)
downloademacs-d32623f040272d9c3bc46b2b1b37c986e7fb8bf1.tar.gz
emacs-d32623f040272d9c3bc46b2b1b37c986e7fb8bf1.zip
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 'doc')
-rw-r--r--doc/lispref/processes.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi
index 014a0aed913..58e04a311a1 100644
--- a/doc/lispref/processes.texi
+++ b/doc/lispref/processes.texi
@@ -2414,6 +2414,14 @@ If non-@code{nil}, the host's capability string.
2414The connection type: @samp{plain} or @samp{tls}. 2414The connection type: @samp{plain} or @samp{tls}.
2415@end table 2415@end table
2416 2416
2417@item :shell-command @var{string-or-nil}
2418If the connection @code{type} is @code{shell}, this parameter will be
2419interpreted as a format-spec string that will be executed to make the
2420connection. The specs available are @samp{%s} for the host name and
2421@samp{%p} for the port number. For instance, if you want to first ssh
2422to @samp{gateway} before making a plain connection, then this
2423parameter could be something like @samp{ssh gateway nc %s %p}.
2424
2417@end table 2425@end table
2418 2426
2419@end defun 2427@end defun