diff options
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c index 1b2599712a3..62bb2223d22 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -3011,6 +3011,12 @@ setup_coding_system (coding_system, coding) | |||
| 3011 | } | 3011 | } |
| 3012 | else | 3012 | else |
| 3013 | coding->type = coding_type_no_conversion; | 3013 | coding->type = coding_type_no_conversion; |
| 3014 | /* Initialize this member. Any thing other than | ||
| 3015 | CODING_CATEGORY_IDX_UTF_16_BE and | ||
| 3016 | CODING_CATEGORY_IDX_UTF_16_LE are ok because they have | ||
| 3017 | special treatment in detect_eol. */ | ||
| 3018 | coding->category_idx = CODING_CATEGORY_IDX_EMACS_MULE; | ||
| 3019 | |||
| 3014 | return 0; | 3020 | return 0; |
| 3015 | } | 3021 | } |
| 3016 | 3022 | ||