Mercurial > emacs
comparison src/coding.c @ 69993:795b4e48c10e
(shrink_encoding_region): If eol_type is not yet decided and
system_eol_type is not LF, don't shrink.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 13 Apr 2006 04:57:52 +0000 |
parents | c0ec9365428f |
children | d4a5619e5025 |
comparison
equal
deleted
inserted
replaced
69992:2e639bf3cd9f | 69993:795b4e48c10e |
---|---|
5254 Lisp_Object translation_table; | 5254 Lisp_Object translation_table; |
5255 | 5255 |
5256 if (coding->type == coding_type_ccl | 5256 if (coding->type == coding_type_ccl |
5257 || coding->eol_type == CODING_EOL_CRLF | 5257 || coding->eol_type == CODING_EOL_CRLF |
5258 || coding->eol_type == CODING_EOL_CR | 5258 || coding->eol_type == CODING_EOL_CR |
5259 || (coding->eol_type == CODING_EOL_UNDECIDED | |
5260 && system_eol_type != CODING_EOL_LF) | |
5259 || (coding->cmp_data && coding->cmp_data->used > 0)) | 5261 || (coding->cmp_data && coding->cmp_data->used > 0)) |
5260 { | 5262 { |
5261 /* We can't skip any data. */ | 5263 /* We can't skip any data. */ |
5262 return; | 5264 return; |
5263 } | 5265 } |