[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/coding.c
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] Changes to emacs/src/coding.c |
Date: |
Wed, 12 Apr 2006 05:47:20 +0000 |
Index: emacs/src/coding.c
diff -u emacs/src/coding.c:1.330 emacs/src/coding.c:1.331
--- emacs/src/coding.c:1.330 Thu Mar 9 12:20:57 2006
+++ emacs/src/coding.c Wed Apr 12 05:47:20 2006
@@ -3621,7 +3621,7 @@
= CODING_REQUIRE_DECODING_MASK | CODING_REQUIRE_ENCODING_MASK;
}
else
- coding->eol_type = CODING_EOL_LF;
+ coding->eol_type = system_eol_type;
coding_type = XVECTOR (coding_spec)->contents[0];
/* Try short cut. */
@@ -3922,7 +3922,7 @@
coding->type = coding_type_no_conversion;
coding->category_idx = CODING_CATEGORY_IDX_BINARY;
coding->common_flags = 0;
- coding->eol_type = CODING_EOL_LF;
+ coding->eol_type = NILP (coding_system) ? system_eol_type : CODING_EOL_LF;
coding->pre_write_conversion = coding->post_read_conversion = Qnil;
return -1;
}
- [Emacs-diffs] Changes to emacs/src/coding.c,
Kenichi Handa <=