From: Richard M. Stallman Date: Sun, 13 Jul 1997 20:37:01 +0000 (+0000) Subject: (Fwrite_region) [DOS_NT]: Always use binary mode since X-Git-Tag: emacs-20.1~1182 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fa228724ffaccc0bfe839549f7ea2a3c9959d3ab;p=emacs.git (Fwrite_region) [DOS_NT]: Always use binary mode since coding conversion now takes care of NL -> CRLF. --- diff --git a/src/fileio.c b/src/fileio.c index bf1af48efc7..eda3adf9ddd 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -3799,8 +3799,7 @@ to the file, instead of any buffer contents, and END is ignored.") struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5; struct buffer *given_buffer; #ifdef DOS_NT - int buffer_file_type - = NILP (current_buffer->buffer_file_type) ? O_TEXT : O_BINARY; + int buffer_file_type = O_BINARY; #endif /* DOS_NT */ struct coding_system coding;