# HG changeset patch # User Kenichi Handa # Date 871696477 0 # Node ID 7182edce9028dff09efa11a72c336e6dbef833d4 # Parent 166c69d75f0189d45f336e9805aef0f4a78f14bc (Vmicrosoft_code_table): This variable deleted. (Vlatin_extra_code_table): New variable. (detect_coding_iso2022): Pay attention to Vlatin_extra_code_table. (detect_coding_mask): Likewise. (setup_coding_system): Handle a new FLAGS element ACCEPT-LATIN-EXTRA-CODE. (syms_of_coding): Delete code for Vmicrosoft_code_table. Declare latin-extra-code-table as a Lisp variable, and initialize it. diff -r 166c69d75f01 -r 7182edce9028 src/coding.h --- a/src/coding.h Fri Aug 15 23:42:26 1997 +0000 +++ b/src/coding.h Sat Aug 16 01:54:37 1997 +0000 @@ -138,9 +138,13 @@ /* If set, do not encode unexpected charactes on output. */ #define CODING_FLAG_ISO_SAFE 0x0800 +/* If set, extra latin codes (128..159) are accepted as a valid code + on input. */ +#define CODING_FLAG_ISO_LATIN_EXTRA 0x1000 + /* A character to be produced on output if encoding of the original character is prohibited by CODING_FLAG_ISO_SAFE. */ -#define CODING_INHIBIT_CHARACTER_SUBSTITUTION 077 /* `?' */ +#define CODING_INHIBIT_CHARACTER_SUBSTITUTION 077 /* 077 == `?' */ /* Structure of the field `spec.iso2022' in the structure `coding_system'. */ struct iso2022_spec