• Eli Zaretskii's avatar
    Add set-binary-mode primitive to switch a standard stream to binary I/O. · 0f238ea4
    Eli Zaretskii authored
     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'.
    0f238ea4
uvs.el 8.35 KB