- if (EQ (coding_type, Qundecided))
- {
- /* We must decide the text-conversion part. */
- if (CONSP (Vdefault_process_coding_system))
- {
- coding_system = XCDR (Vdefault_process_coding_system);
- if (! NILP (coding_system))
- {
- spec = CODING_SYSTEM_SPEC (coding_system);
- attrs = AREF (spec, 0);
- coding_type = CODING_ATTR_TYPE (attrs);
- eol_type = AREF (spec, 2);
- }
- }
- if (EQ (coding_type, Qundecided))
- {
- coding_system = preferred_coding_system ();
- spec = CODING_SYSTEM_SPEC (coding_system);
- attrs = AREF (spec, 0);
- coding_type = CODING_ATTR_TYPE (attrs);
- eol_type = AREF (spec, 2);
- }
- if (EQ (coding_type, Qundecided))
- {
- coding_system = Qraw_text;
- coding_type = Qraw_text;
- eol_type = Qnil;
- }
- }
- if (NILP (eol_type) || VECTORP (eol_type))