From 894e21df1e1a38244ad0c8179adf4b632b25a592 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 3 Feb 2016 12:43:24 +1100 Subject: 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. --- doc/lispref/processes.texi | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'doc/lispref') diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index e77da779cc5..ccff1381af2 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi @@ -2420,9 +2420,12 @@ has succeeded or failed. @item :tls-parameters When opening a TLS connection, this should be where the first element -is the TLS type, and the remaining elements should form a keyword list -acceptable for @code{gnutls-boot}. The TLS connection will then be -negotiated after completing the connection to the host. +is the TLS type (which should either be @code{gnutls-x509pki} or +@code{gnutls-anon}, and the remaining elements should form a keyword +list acceptable for @code{gnutls-boot}. (This keyword list can be +optained from the @code{gnutls-boot-parameters} function.) The TLS +connection will then be negotiated after completing the connection to +the host. @item :stop @var{stopped} If @var{stopped} is non-@code{nil}, start the network connection or -- cgit v1.2.1