aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.h
diff options
context:
space:
mode:
authorKenichi Handa1997-08-16 01:54:37 +0000
committerKenichi Handa1997-08-16 01:54:37 +0000
commitc0c69d45bd6606d1f8d826aad6dee51624101c34 (patch)
tree139c27ad5c3609be0c480e67030d2f26a39ffd05 /src/coding.h
parent952936e8a93d2cc828438ec87197085aba8099e6 (diff)
downloademacs-c0c69d45bd6606d1f8d826aad6dee51624101c34.tar.gz
emacs-c0c69d45bd6606d1f8d826aad6dee51624101c34.zip
(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.
Diffstat (limited to 'src/coding.h')
-rw-r--r--src/coding.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/coding.h b/src/coding.h
index ec25b1d0366..6aa9a45e714 100644
--- a/src/coding.h
+++ b/src/coding.h
@@ -138,9 +138,13 @@ enum iso_code_class_type
138/* If set, do not encode unexpected charactes on output. */ 138/* If set, do not encode unexpected charactes on output. */
139#define CODING_FLAG_ISO_SAFE 0x0800 139#define CODING_FLAG_ISO_SAFE 0x0800
140 140
141/* If set, extra latin codes (128..159) are accepted as a valid code
142 on input. */
143#define CODING_FLAG_ISO_LATIN_EXTRA 0x1000
144
141/* A character to be produced on output if encoding of the original 145/* A character to be produced on output if encoding of the original
142 character is prohibited by CODING_FLAG_ISO_SAFE. */ 146 character is prohibited by CODING_FLAG_ISO_SAFE. */
143#define CODING_INHIBIT_CHARACTER_SUBSTITUTION 077 /* `?' */ 147#define CODING_INHIBIT_CHARACTER_SUBSTITUTION 077 /* 077 == `?' */
144 148
145/* Structure of the field `spec.iso2022' in the structure `coding_system'. */ 149/* Structure of the field `spec.iso2022' in the structure `coding_system'. */
146struct iso2022_spec 150struct iso2022_spec