diff options
| author | Kenichi Handa | 1997-04-16 01:04:54 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-04-16 01:04:54 +0000 |
| commit | dec137e53fa24b4a5169c88ab6d89fad2e820709 (patch) | |
| tree | 69f2597ec2851d8b9aa9814be88a1e546eb6dc70 /src/coding.c | |
| parent | 93cba994250fcd3229912e03258f3eb68875ada6 (diff) | |
| download | emacs-dec137e53fa24b4a5169c88ab6d89fad2e820709.tar.gz emacs-dec137e53fa24b4a5169c88ab6d89fad2e820709.zip | |
(setup_coding_system): Setup coding->eol_type as LF
for a invalid coding system.
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c index 33bf0084674..2d14c7aeafc 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -2277,6 +2277,7 @@ setup_coding_system (coding_system, coding) | |||
| 2277 | 2277 | ||
| 2278 | label_invalid_coding_system: | 2278 | label_invalid_coding_system: |
| 2279 | coding->type = coding_type_no_conversion; | 2279 | coding->type = coding_type_no_conversion; |
| 2280 | coding->eol_type = CODING_EOL_LF; | ||
| 2280 | coding->symbol = coding->pre_write_conversion = coding->post_read_conversion | 2281 | coding->symbol = coding->pre_write_conversion = coding->post_read_conversion |
| 2281 | = Qnil; | 2282 | = Qnil; |
| 2282 | return -1; | 2283 | return -1; |