diff options
author | Kenichi Handa <[email protected]> | 2006-08-16 00:20:53 +0000 |
---|---|---|
committer | Kenichi Handa <[email protected]> | 2006-08-16 00:20:53 +0000 |
commit | 29cbc4829462914df43038b05711b71aad6e570a (patch) | |
tree | 3c5716f512288550c731baea2dc5560e81b4da2c /src/fileio.c | |
parent | 9411b080963173da11f2086118b33c0172216685 (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.c | 2 |
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)) |