diff options
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c index d2655310cd3..31bffeab5c9 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -6004,7 +6004,8 @@ coding_inherit_eol_type (Lisp_Object coding_system, Lisp_Object parent) | |||
| 6004 | 6004 | ||
| 6005 | if (NILP (coding_system)) | 6005 | if (NILP (coding_system)) |
| 6006 | coding_system = Qraw_text; | 6006 | coding_system = Qraw_text; |
| 6007 | CHECK_CODING_SYSTEM (coding_system); | 6007 | else |
| 6008 | CHECK_CODING_SYSTEM (coding_system); | ||
| 6008 | spec = CODING_SYSTEM_SPEC (coding_system); | 6009 | spec = CODING_SYSTEM_SPEC (coding_system); |
| 6009 | eol_type = AREF (spec, 2); | 6010 | eol_type = AREF (spec, 2); |
| 6010 | if (VECTORP (eol_type)) | 6011 | if (VECTORP (eol_type)) |
| @@ -6051,6 +6052,7 @@ complement_process_encoding_system (Lisp_Object coding_system) | |||
| 6051 | coding_system = CDR_SAFE (Vdefault_process_coding_system); | 6052 | coding_system = CDR_SAFE (Vdefault_process_coding_system); |
| 6052 | else if (i == 2) | 6053 | else if (i == 2) |
| 6053 | coding_system = preferred_coding_system (); | 6054 | coding_system = preferred_coding_system (); |
| 6055 | CHECK_CODING_SYSTEM (coding_system); | ||
| 6054 | spec = CODING_SYSTEM_SPEC (coding_system); | 6056 | spec = CODING_SYSTEM_SPEC (coding_system); |
| 6055 | if (NILP (spec)) | 6057 | if (NILP (spec)) |
| 6056 | continue; | 6058 | continue; |