diff options
| author | Kenichi Handa | 1997-05-10 03:37:01 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-05-10 03:37:01 +0000 |
| commit | ceb5851081f93fe19e70072bb971cbd868f17e6f (patch) | |
| tree | 787431075e16cd73090fcd6f017b53ad37b65ce6 /src | |
| parent | cdfb0f1d9b94869b052680bcbee9ef3ffd35397f (diff) | |
| download | emacs-ceb5851081f93fe19e70072bb971cbd868f17e6f.tar.gz emacs-ceb5851081f93fe19e70072bb971cbd868f17e6f.zip | |
(CODING_SPEC_ISO_PLANE_CHARSET): Return -1 if no
character set is invoked to PLANE.
(struct coding_system): New member character_unification_table.
Diffstat (limited to 'src')
| -rw-r--r-- | src/coding.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/coding.h b/src/coding.h index 3facc43547b..43929ad4655 100644 --- a/src/coding.h +++ b/src/coding.h | |||
| @@ -175,9 +175,11 @@ struct iso2022_spec | |||
| 175 | 175 | ||
| 176 | /* Return a charset which is currently designated to the graphic plane | 176 | /* Return a charset which is currently designated to the graphic plane |
| 177 | PLANE in the coding-system CODING. */ | 177 | PLANE in the coding-system CODING. */ |
| 178 | #define CODING_SPEC_ISO_PLANE_CHARSET(coding, plane) \ | 178 | #define CODING_SPEC_ISO_PLANE_CHARSET(coding, plane) \ |
| 179 | CODING_SPEC_ISO_DESIGNATION \ | 179 | ((CODING_SPEC_ISO_INVOCATION (coding, plane) < 0) \ |
| 180 | (coding, CODING_SPEC_ISO_INVOCATION (coding, plane)) | 180 | ? -1 \ |
| 181 | : CODING_SPEC_ISO_DESIGNATION (coding, \ | ||
| 182 | CODING_SPEC_ISO_INVOCATION (coding, plane))) | ||
| 181 | 183 | ||
| 182 | /*** BIG5 section ***/ | 184 | /*** BIG5 section ***/ |
| 183 | 185 | ||
| @@ -288,6 +290,9 @@ struct coding_system | |||
| 288 | additional conversion. */ | 290 | additional conversion. */ |
| 289 | Lisp_Object pre_write_conversion; | 291 | Lisp_Object pre_write_conversion; |
| 290 | 292 | ||
| 293 | /* Character unification table to look up, or nil. */ | ||
| 294 | Lisp_Object character_unification_table; | ||
| 295 | |||
| 291 | /* Carryover yielded by decoding/encoding incomplete source. No | 296 | /* Carryover yielded by decoding/encoding incomplete source. No |
| 292 | coding-system yields more than 7-byte of carryover. This does | 297 | coding-system yields more than 7-byte of carryover. This does |
| 293 | not include a text which is not processed because of short of | 298 | not include a text which is not processed because of short of |