1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-21 05:00:47 -08:00

(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.
This commit is contained in:
Kenichi Handa 1997-08-28 10:54:13 +00:00
parent 27901516b6
commit 992f23f203

View file

@ -2839,7 +2839,7 @@ detect_eol (coding, src, src_bytes)
{
#if 0
/* This code is suppressed until we find a better way to
distinguish raw-text and binary. */
distinguish raw text file and binary file. */
/* If we have already detected that the coding is raw-text, the
coding should actually be no-conversion. */
@ -3182,7 +3182,7 @@ If only ASCII characters are found, it returns `undecided'\n\
{
#if 0
/* This code is suppressed until we find a better way to
distinguish raw-text and binary. */
distinguish raw text file and binary file. */
if (idx == CODING_CATEGORY_IDX_RAW_TEXT
&& eol_type == CODING_EOL_INCONSISTENT)