diff options
| author | Eli Zaretskii | 2015-01-15 17:50:50 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2015-01-15 17:50:50 +0200 |
| commit | 0f238ea450b3a976f04c95c4cf8befaadad1cdd0 (patch) | |
| tree | cd278a1441bd610bd91eb7fbd6f38aea7aa4bca8 /etc | |
| parent | 3b7eed4ebb3c18799ec791d0c6bd53c019f48f73 (diff) | |
| download | emacs-0f238ea450b3a976f04c95c4cf8befaadad1cdd0.tar.gz emacs-0f238ea450b3a976f04c95c4cf8befaadad1cdd0.zip | |
Add set-binary-mode primitive to switch a standard stream to binary I/O.
src/fileio.c: Include binary-io.h.
(Fset_binary_mode): New function.
(syms_of_fileio): Defsubr it.
(syms_of_fileio) <Qstdin, Qstdout, Qstderr>: DEFSYM them.
admin/unidata/unidata/uvs.el (uvs-print-table-ivd): Call set-binary-mode on
stdout.
doc/lispref/streams.texi (Input Functions): Document 'set-binary-mode'.
(Output Functions): Cross-reference to documentation of
'set-binary-mode'.
etc/NEWS: Mention 'set-binary-mode'.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/ChangeLog | 4 | ||||
| -rw-r--r-- | etc/NEWS | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index 20f88bdecc3..681858e5977 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2015-01-15 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * NEWS: Mention 'set-binary-mode'. | ||
| 4 | |||
| 1 | 2015-01-11 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2015-01-11 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | Default to 'configure --enable-silent-rules' | 7 | Default to 'configure --enable-silent-rules' |
| @@ -588,6 +588,10 @@ been obsoleted. | |||
| 588 | undocumented integer-pair format. Instead, they return a list of two | 588 | undocumented integer-pair format. Instead, they return a list of two |
| 589 | integers. | 589 | integers. |
| 590 | 590 | ||
| 591 | +++ | ||
| 592 | ** New function `set-binary-mode' allows to switch a standard stream | ||
| 593 | of the Emacs process to binary I/O mode. | ||
| 594 | |||
| 591 | 595 | ||
| 592 | * Changes in Frames and Windows Code in Emacs 25.1 | 596 | * Changes in Frames and Windows Code in Emacs 25.1 |
| 593 | 597 | ||