aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorLars Ingebrigtsen2016-02-03 12:43:24 +1100
committerLars Ingebrigtsen2016-02-03 12:43:24 +1100
commit894e21df1e1a38244ad0c8179adf4b632b25a592 (patch)
treef866b91e463d951061fc331249700740e179603b /src/process.c
parenteb597d40950d0b8f126641bf458af28fcab150d5 (diff)
downloademacs-894e21df1e1a38244ad0c8179adf4b632b25a592.tar.gz
emacs-894e21df1e1a38244ad0c8179adf4b632b25a592.zip
Doc fixes and refactorings based on comments from Eli Zaretskii
* doc/lispref/processes.texi (Network Processes): Clarify the meaning of :tls-parameters. * lisp/net/gnutls.el (open-gnutls-stream): Clarify :nowait. * lisp/net/gnutls.el (gnutls-boot-parameters): Factor out into own function. (gnutls-negotiate): Use it. (open-gnutls-stream): Ditto. * src/eval.c (vformat_string): Refactor out the printing bits from verror. (verror): Use it. * src/gnutls.c (boot_error): Mark failed processes with the real error message. * src/lisp.h: Declare vformat_string.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index e4dd123574e..0c8fc43dd12 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3454,8 +3454,10 @@ and MESSAGE is a string.
3454:plist PLIST -- Install PLIST as the new process's initial plist. 3454:plist PLIST -- Install PLIST as the new process's initial plist.
3455 3455
3456:tls-parameters LIST -- is a list that should be supplied if you're 3456:tls-parameters LIST -- is a list that should be supplied if you're
3457opening a TLS connection. The first element is the TLS type, and the 3457opening a TLS connection. The first element is the TLS type (either
3458remaining elements should be a keyword list accepted by gnutls-boot. 3458`gnutls-x509pki' or `gnutls-anon'), and the remaining elements should
3459be a keyword list accepted by gnutls-boot (as returned by
3460`gnutls-boot-parameters').
3459 3461
3460:server QLEN -- if QLEN is non-nil, create a server process for the 3462:server QLEN -- if QLEN is non-nil, create a server process for the
3461specified FAMILY, SERVICE, and connection type (stream or datagram). 3463specified FAMILY, SERVICE, and connection type (stream or datagram).