Mercurial > emacs
comparison src/coding.c @ 19181:917138730635
(detect_eol_type): Fix previous change.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 06 Aug 1997 01:09:16 +0000 |
parents | 04ed7c3f5cee |
children | 1701f2296f99 |
comparison
equal
deleted
inserted
replaced
19180:5de82ccd80eb | 19181:917138730635 |
---|---|
2737 We had better not decode end-of-line. */ | 2737 We had better not decode end-of-line. */ |
2738 return CODING_EOL_LF; | 2738 return CODING_EOL_LF; |
2739 } | 2739 } |
2740 } | 2740 } |
2741 | 2741 |
2742 return (total ? eol_type : CODING_EOL_UNDECIDED); | 2742 return eol_type; |
2743 } | 2743 } |
2744 | 2744 |
2745 /* Detect how end-of-line of a text of length SRC_BYTES pointed by SRC | 2745 /* Detect how end-of-line of a text of length SRC_BYTES pointed by SRC |
2746 is encoded. If it detects an appropriate format of end-of-line, it | 2746 is encoded. If it detects an appropriate format of end-of-line, it |
2747 sets the information in *CODING. */ | 2747 sets the information in *CODING. */ |