diff options
author | Kenichi Handa <handa@m17n.org> | 1997-08-10 04:13:19 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 1997-08-10 04:13:19 +0000 |
commit | fbaa2ed9b59409b435694863e27059c79c73f231 (patch) | |
tree | 3b0e8bbb66f0d770433a0edf6bdf48711c26166d /src/coding.h | |
parent | dec58e65b13945edd1ffaf61d84c092efe517a05 (diff) | |
download | emacs-fbaa2ed9b59409b435694863e27059c79c73f231.tar.gz |
(CODING_FLAG_ISO_SAFE): New macro.
(CODING_INHIBIT_CHARACTER_SUBSTITUTION): New macro.
coding.h (safe_terminal_coding): Extern it.
Diffstat (limited to 'src/coding.h')
-rw-r--r-- | src/coding.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/coding.h b/src/coding.h index 6a1a180dd0e..2f5e58e28b7 100644 --- a/src/coding.h +++ b/src/coding.h @@ -135,6 +135,13 @@ enum iso_code_class_type on output. */ #define CODING_FLAG_ISO_DESIGNATE_AT_BOL 0x0400 +/* If set, do not encode unexpected charactes on output. */ +#define CODING_FLAG_ISO_SAFE 0x0800 + +/* 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 /* `?' */ + /* Structure of the field `spec.iso2022' in the structure `coding_system'. */ struct iso2022_spec { @@ -422,6 +429,10 @@ extern Lisp_Object Vlast_coding_system_used; function `set-terminal-coding-system'. */ extern struct coding_system terminal_coding; +/* Coding system to be used to encode text for terminal display when + terminal coding system is nil. */ +extern struct coding_system safe_terminal_coding; + /* Coding-system of what is sent from terminal keyboard. This structure contains information of a coding-system specified by the function `set-keyboard-coding-system'. */ |