aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorKenichi Handa <[email protected]>2006-08-16 00:20:53 +0000
committerKenichi Handa <[email protected]>2006-08-16 00:20:53 +0000
commit29cbc4829462914df43038b05711b71aad6e570a (patch)
tree3c5716f512288550c731baea2dc5560e81b4da2c /src/fileio.c
parent9411b080963173da11f2086118b33c0172216685 (diff)
(choose_write_coding_system): Use LF for end-of-line
in auto-saving.
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c
index d26b280872..4a39e7ffa1 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -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))