# HG changeset patch # User Kenichi Handa # Date 1155687609 0 # Node ID 8006b4a1c70377d743e7747e88b8dcf5b70e7db5 # Parent 705d28578f2d91a36618b149a85eee8012a0e555 (choose_write_coding_system): Use LF for end-of-line in auto-saving. diff -r 705d28578f2d -r 8006b4a1c703 src/fileio.c --- a/src/fileio.c Tue Aug 15 22:28:02 2006 +0000 +++ b/src/fileio.c Wed Aug 16 00:20:09 2006 +0000 @@ -4845,6 +4845,8 @@ /* ... but with the special flag to indicate not to strip off leading code of eight-bit-control chars. */ coding->flags = 1; + /* We force LF for end-of-line because that is faster. */ + coding->eol_type = CODING_EOL_LF; goto done_setup_coding; } else if (!NILP (Vcoding_system_for_write))