From: Kenichi Handa Date: Thu, 28 Aug 1997 10:54:13 +0000 (+0000) Subject: (detect_eol): Do not select no-conversion even if EOL X-Git-Tag: emacs-20.1~335 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=992f23f20387d0fcef305ad01c49773826bfb0a2;p=emacs.git (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. --- 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) { #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)