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 /etc | |
| 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 'etc')
| -rw-r--r-- | etc/NEWS | 9 |
1 files changed, 9 insertions, 0 deletions
| @@ -339,6 +339,15 @@ Emacs depended on the previous behavior; if you really want the | |||
| 339 | process' coding-system to be nil, use 'set-process-coding-system' | 339 | process' coding-system to be nil, use 'set-process-coding-system' |
| 340 | after the process has been created, or pass in ":coding '(nil nil)". | 340 | after the process has been created, or pass in ":coding '(nil nil)". |
| 341 | 341 | ||
| 342 | +++ | ||
| 343 | ** 'open-network-stream' now accepts a :coding argument. | ||
| 344 | This allows specifying the coding systems used by a network process | ||
| 345 | for encoding and decoding without having to bind | ||
| 346 | coding-system-for-{read,write} or call 'set-process-coding-system'. | ||
| 347 | |||
| 348 | +++ | ||
| 349 | ** 'open-gnutls-stream' now also accepts a :coding argument. | ||
| 350 | |||
| 342 | 351 | ||
| 343 | * Changes in Emacs 28.1 on Non-Free Operating Systems | 352 | * Changes in Emacs 28.1 on Non-Free Operating Systems |
| 344 | 353 | ||