changeset 72405:8006b4a1c703

(choose_write_coding_system): Use LF for end-of-line in auto-saving.
author Kenichi Handa <handa@m17n.org>
date Wed, 16 Aug 2006 00:20:09 +0000
parents 705d28578f2d
children dd61e50ffefa
files src/fileio.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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))