aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.h')
-rw-r--r--src/coding.h11
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
135 on output. */ 135 on output. */
136#define CODING_FLAG_ISO_DESIGNATE_AT_BOL 0x0400 136#define CODING_FLAG_ISO_DESIGNATE_AT_BOL 0x0400
137 137
138/* If set, do not encode unexpected charactes on output. */
139#define CODING_FLAG_ISO_SAFE 0x0800
140
141/* A character to be produced on output if encoding of the original
142 character is prohibited by CODING_FLAG_ISO_SAFE. */
143#define CODING_INHIBIT_CHARACTER_SUBSTITUTION 077 /* `?' */
144
138/* Structure of the field `spec.iso2022' in the structure `coding_system'. */ 145/* Structure of the field `spec.iso2022' in the structure `coding_system'. */
139struct iso2022_spec 146struct iso2022_spec
140{ 147{
@@ -422,6 +429,10 @@ extern Lisp_Object Vlast_coding_system_used;
422 function `set-terminal-coding-system'. */ 429 function `set-terminal-coding-system'. */
423extern struct coding_system terminal_coding; 430extern struct coding_system terminal_coding;
424 431
432/* Coding system to be used to encode text for terminal display when
433 terminal coding system is nil. */
434extern struct coding_system safe_terminal_coding;
435
425/* Coding-system of what is sent from terminal keyboard. This 436/* Coding-system of what is sent from terminal keyboard. This
426 structure contains information of a coding-system specified by the 437 structure contains information of a coding-system specified by the
427 function `set-keyboard-coding-system'. */ 438 function `set-keyboard-coding-system'. */