Commit 29cbc482 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(choose_write_coding_system): Use LF for end-of-line

in auto-saving.
parent 9411b080
2006-08-16 Kenichi Handa <handa@m17n.org>
* fileio.c (choose_write_coding_system): Use LF for end-of-line
in auto-saving.
2006-08-15 Chong Yidong <cyd@stupidchicken.com>
 
* keyboard.c (read_char): Don't change idle timer state at all if
......
......@@ -4845,6 +4845,8 @@ choose_write_coding_system (start, end, filename,
/* ... 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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment