diff options
| author | Kenichi Handa | 1997-08-28 10:54:13 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-08-28 10:54:13 +0000 |
| commit | 992f23f20387d0fcef305ad01c49773826bfb0a2 (patch) | |
| tree | 837190435371dc38b1721b7aef3c7e89ed44ed31 /src/coding.c | |
| parent | 27901516b62b78a4b52c7787c7c115c8d00368d8 (diff) | |
| download | emacs-992f23f20387d0fcef305ad01c49773826bfb0a2.tar.gz emacs-992f23f20387d0fcef305ad01c49773826bfb0a2.zip | |
(detect_eol): Do not select no-conversion even if EOL
format of raw-text file is inconsistent. Just read it by
raw-text-unix.
(Fdetect_coding_region): Do not select no-conversion even if EOL
format of raw-text file is inconsistent.
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c index 66fbe517215..7cb5200c08d 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -2839,7 +2839,7 @@ detect_eol (coding, src, src_bytes) | |||
| 2839 | { | 2839 | { |
| 2840 | #if 0 | 2840 | #if 0 |
| 2841 | /* This code is suppressed until we find a better way to | 2841 | /* This code is suppressed until we find a better way to |
| 2842 | distinguish raw-text and binary. */ | 2842 | distinguish raw text file and binary file. */ |
| 2843 | 2843 | ||
| 2844 | /* If we have already detected that the coding is raw-text, the | 2844 | /* If we have already detected that the coding is raw-text, the |
| 2845 | coding should actually be no-conversion. */ | 2845 | coding should actually be no-conversion. */ |
| @@ -3182,7 +3182,7 @@ If only ASCII characters are found, it returns `undecided'\n\ | |||
| 3182 | { | 3182 | { |
| 3183 | #if 0 | 3183 | #if 0 |
| 3184 | /* This code is suppressed until we find a better way to | 3184 | /* This code is suppressed until we find a better way to |
| 3185 | distinguish raw-text and binary. */ | 3185 | distinguish raw text file and binary file. */ |
| 3186 | 3186 | ||
| 3187 | if (idx == CODING_CATEGORY_IDX_RAW_TEXT | 3187 | if (idx == CODING_CATEGORY_IDX_RAW_TEXT |
| 3188 | && eol_type == CODING_EOL_INCONSISTENT) | 3188 | && eol_type == CODING_EOL_INCONSISTENT) |