mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 18:41:25 -08:00
(CODING_REPLACEMENT_CHARACTER): Renamed from
CODING_INHIBIT_CHARACTER_SUBSTITUTION. (CODING_MODE_INHIBIT_UNENCODABLE_CHAR): New macro.
This commit is contained in:
parent
34bf1d4e11
commit
cbb76662ea
1 changed files with 7 additions and 3 deletions
10
src/coding.h
10
src/coding.h
|
|
@ -144,8 +144,9 @@ enum iso_code_class_type
|
|||
#define CODING_FLAG_ISO_DESIGNATION 0x10000
|
||||
|
||||
/* 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 /* 077 == `?' */
|
||||
character is inhibitted by CODING_MODE_INHIBIT_UNENCODABLE_CHAR.
|
||||
It must be an ASCII character. */
|
||||
#define CODING_REPLACEMENT_CHARACTER '?'
|
||||
|
||||
/* Structure of the field `spec.iso2022' in the structure `coding_system'. */
|
||||
struct iso2022_spec
|
||||
|
|
@ -337,9 +338,12 @@ struct composition_data
|
|||
enables selective display. */
|
||||
#define CODING_MODE_SELECTIVE_DISPLAY 0x04
|
||||
|
||||
/* If set, replace unencodabae characters by `?' on encoding. */
|
||||
#define CODING_MODE_INHIBIT_UNENCODABLE_CHAR 0x08
|
||||
|
||||
/* This flag is used by the decoding/encoding routines on the fly. If
|
||||
set, it means that right-to-left text is being processed. */
|
||||
#define CODING_MODE_DIRECTION 0x08
|
||||
#define CODING_MODE_DIRECTION 0x10
|
||||
|
||||
struct coding_system
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue