Mercurial > emacs
comparison src/coding.c @ 23027:0dc823b2335f
(coding_category_name): Fix the order of initial
contents.
(detect_coding_mask): Fix previous change.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Sat, 15 Aug 1998 01:28:14 +0000 |
| parents | ceb8e4a89a32 |
| children | ac788ee31080 |
comparison
equal
deleted
inserted
replaced
| 23026:3532d5c73fdf | 23027:0dc823b2335f |
|---|---|
| 361 "coding-category-iso-7-tight", | 361 "coding-category-iso-7-tight", |
| 362 "coding-category-iso-8-1", | 362 "coding-category-iso-8-1", |
| 363 "coding-category-iso-8-2", | 363 "coding-category-iso-8-2", |
| 364 "coding-category-iso-7-else", | 364 "coding-category-iso-7-else", |
| 365 "coding-category-iso-8-else", | 365 "coding-category-iso-8-else", |
| 366 "coding-category-ccl", | |
| 366 "coding-category-big5", | 367 "coding-category-big5", |
| 367 "coding-category-raw-text", | 368 "coding-category-raw-text", |
| 368 "coding-category-binary", | 369 "coding-category-binary" |
| 369 "coding-category-ccl" | |
| 370 }; | 370 }; |
| 371 | 371 |
| 372 /* Table of pointers to coding systems corresponding to each coding | 372 /* Table of pointers to coding systems corresponding to each coding |
| 373 categories. */ | 373 categories. */ |
| 374 struct coding_system *coding_system_table[CODING_CATEGORY_IDX_MAX]; | 374 struct coding_system *coding_system_table[CODING_CATEGORY_IDX_MAX]; |
| 3349 mask = detect_coding_sjis (src, src_end); | 3349 mask = detect_coding_sjis (src, src_end); |
| 3350 else if (priorities[i] & try & CODING_CATEGORY_MASK_BIG5) | 3350 else if (priorities[i] & try & CODING_CATEGORY_MASK_BIG5) |
| 3351 mask = detect_coding_big5 (src, src_end); | 3351 mask = detect_coding_big5 (src, src_end); |
| 3352 else if (priorities[i] & try & CODING_CATEGORY_MASK_EMACS_MULE) | 3352 else if (priorities[i] & try & CODING_CATEGORY_MASK_EMACS_MULE) |
| 3353 mask = detect_coding_emacs_mule (src, src_end); | 3353 mask = detect_coding_emacs_mule (src, src_end); |
| 3354 else if (priorities[i] & CODING_CATEGORY_MASK_CCL) | 3354 else if (priorities[i] & try & CODING_CATEGORY_MASK_CCL) |
| 3355 mask = detect_coding_ccl (src, src_end); | 3355 mask = detect_coding_ccl (src, src_end); |
| 3356 else if (priorities[i] & CODING_CATEGORY_MASK_RAW_TEXT) | 3356 else if (priorities[i] & CODING_CATEGORY_MASK_RAW_TEXT) |
| 3357 mask = CODING_CATEGORY_MASK_RAW_TEXT; | 3357 mask = CODING_CATEGORY_MASK_RAW_TEXT; |
| 3358 else if (priorities[i] & CODING_CATEGORY_MASK_BINARY) | 3358 else if (priorities[i] & CODING_CATEGORY_MASK_BINARY) |
| 3359 mask = CODING_CATEGORY_MASK_BINARY; | 3359 mask = CODING_CATEGORY_MASK_BINARY; |
