Mercurial > emacs
comparison src/coding.c @ 101904:4c1349cf5b50
(detect_coding_charset): Fix previous change.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Mon, 09 Feb 2009 00:42:37 +0000 |
| parents | 7e576fc18303 |
| children | 97c9e9322753 |
comparison
equal
deleted
inserted
replaced
| 101903:261577aa5d33 | 101904:4c1349cf5b50 |
|---|---|
| 5099 coding = &coding_categories[coding_category_charset]; | 5099 coding = &coding_categories[coding_category_charset]; |
| 5100 attrs = CODING_ID_ATTRS (coding->id); | 5100 attrs = CODING_ID_ATTRS (coding->id); |
| 5101 valids = AREF (attrs, coding_attr_charset_valids); | 5101 valids = AREF (attrs, coding_attr_charset_valids); |
| 5102 name = CODING_ID_NAME (coding->id); | 5102 name = CODING_ID_NAME (coding->id); |
| 5103 if (VECTORP (Vlatin_extra_code_table) | 5103 if (VECTORP (Vlatin_extra_code_table) |
| 5104 && strcmp ((char *) SDATA (SYMBOL_NAME (name)), "iso-8859-")) | 5104 && strcmp ((char *) SDATA (SYMBOL_NAME (name)), "iso-8859-") == 0) |
| 5105 check_latin_extra = 1; | 5105 check_latin_extra = 1; |
| 5106 if (! NILP (CODING_ATTR_ASCII_COMPAT (attrs))) | 5106 if (! NILP (CODING_ATTR_ASCII_COMPAT (attrs))) |
| 5107 src += head_ascii; | 5107 src += head_ascii; |
| 5108 | 5108 |
| 5109 while (1) | 5109 while (1) |
