diff options
| author | Robert Pluim | 2020-04-02 18:41:33 +0200 |
|---|---|---|
| committer | Robert Pluim | 2020-04-07 14:32:44 +0200 |
| commit | 6382e1330814ca4df20eeccd8b4ef9ca17b997af (patch) | |
| tree | da17e0f14357e46bacb49658b6d8ee13e4354849 /doc | |
| parent | 23b04ef0e7d03cd7c178b544d5fff2bda4c7c504 (diff) | |
| download | emacs-6382e1330814ca4df20eeccd8b4ef9ca17b997af.tar.gz emacs-6382e1330814ca4df20eeccd8b4ef9ca17b997af.zip | |
Add :coding support to open-network-stream and open-gnutls-stream
* doc/lispref/processes.texi (Network): Describe :coding keyword support.
* doc/misc/emacs-gnutls.texi (Help For Developers): Describe :coding
keyword support.
* etc/NEWS: Announce change to open-network-stream and
open-gnutls-stream.
* lisp/net/gnutls.el (open-gnutls-stream): Add support for :coding, pass it
down to open-network-stream.
* lisp/net/network-stream.el (open-network-stream)
(network-stream-open-plain, network-stream-open-starttls): Add
support for :coding, pass it down to make-network-process.
(network-stream-open-shell): Add support-for :coding, use
set-process-coding-system to set it after process creation.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/processes.texi | 6 | ||||
| -rw-r--r-- | doc/misc/emacs-gnutls.texi | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index 14cd079c563..735e9fd7db4 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi | |||
| @@ -2463,6 +2463,12 @@ that are mainly relevant to encrypted connections: | |||
| 2463 | @item :nowait @var{boolean} | 2463 | @item :nowait @var{boolean} |
| 2464 | If non-@code{nil}, try to make an asynchronous connection. | 2464 | If non-@code{nil}, try to make an asynchronous connection. |
| 2465 | 2465 | ||
| 2466 | @item :coding @var{coding} | ||
| 2467 | Use this to set the coding systems used by the network process, in | ||
| 2468 | preference to binding @code{coding-system-for-read} or | ||
| 2469 | @code{coding-system-for-write}. @xref{Network Processes} for | ||
| 2470 | details. | ||
| 2471 | |||
| 2466 | @item :type @var{type} | 2472 | @item :type @var{type} |
| 2467 | The type of connection. Options are: | 2473 | The type of connection. Options are: |
| 2468 | 2474 | ||
diff --git a/doc/misc/emacs-gnutls.texi b/doc/misc/emacs-gnutls.texi index 555a4b1b56e..c3e69178fca 100644 --- a/doc/misc/emacs-gnutls.texi +++ b/doc/misc/emacs-gnutls.texi | |||
| @@ -190,7 +190,7 @@ the connection process. | |||
| 190 | 190 | ||
| 191 | The optional @var{parameters} argument is a list of keywords and | 191 | The optional @var{parameters} argument is a list of keywords and |
| 192 | values. The only keywords which currently have any effect are | 192 | values. The only keywords which currently have any effect are |
| 193 | @code{:client-certificate} and @code{:nowait}. | 193 | @code{:client-certificate}, @code{:nowait}, and @code{:coding}. |
| 194 | 194 | ||
| 195 | Passing @w{@code{:client certificate t}} triggers looking up of client | 195 | Passing @w{@code{:client certificate t}} triggers looking up of client |
| 196 | certificates matching @var{host} and @var{service} using the | 196 | certificates matching @var{host} and @var{service} using the |