+2006-04-12 Kenichi Handa <handa@m17n.org>
+
+ * coding.c (setup_coding_system): Use system_eol_type for default
+ coding->eol_type.
+
2006-04-11 Dan Nicolaescu <dann@ics.uci.edu>
* lisp.h (wrong_type_argument): Mark as NO_RETURN.
= 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. */
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;
}