diff options
| author | Kenichi Handa | 2011-07-07 07:43:48 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2011-07-07 07:43:48 +0900 |
| commit | c805dec0b5fa81b5c9f2b724e2ec12a17d723aca (patch) | |
| tree | c29a8490c976fdf4dbf64ef1b13a57f7d1110cc1 /src/composite.c | |
| parent | 5c62d133468c354b47a1643092add8292e084765 (diff) | |
| download | emacs-c805dec0b5fa81b5c9f2b724e2ec12a17d723aca.tar.gz emacs-c805dec0b5fa81b5c9f2b724e2ec12a17d723aca.zip | |
Add C interface for Unicode character property table.
Diffstat (limited to 'src/composite.c')
| -rw-r--r-- | src/composite.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/composite.c b/src/composite.c index 796c5a58de6..7123b505e68 100644 --- a/src/composite.c +++ b/src/composite.c | |||
| @@ -976,9 +976,8 @@ static int _work_char; | |||
| 976 | ((C) > ' ' \ | 976 | ((C) > ' ' \ |
| 977 | && ((C) == 0x200C || (C) == 0x200D \ | 977 | && ((C) == 0x200C || (C) == 0x200D \ |
| 978 | || (_work_val = CHAR_TABLE_REF (Vunicode_category_table, (C)), \ | 978 | || (_work_val = CHAR_TABLE_REF (Vunicode_category_table, (C)), \ |
| 979 | (SYMBOLP (_work_val) \ | 979 | (INTEGERP (_work_val) \ |
| 980 | && (_work_char = SDATA (SYMBOL_NAME (_work_val))[0]) != 'C' \ | 980 | && (XINT (_work_val) <= UNICODE_CATEGORY_So))))) |
| 981 | && _work_char != 'Z')))) | ||
| 982 | 981 | ||
| 983 | /* Update cmp_it->stop_pos to the next position after CHARPOS (and | 982 | /* Update cmp_it->stop_pos to the next position after CHARPOS (and |
| 984 | BYTEPOS) where character composition may happen. If BYTEPOS is | 983 | BYTEPOS) where character composition may happen. If BYTEPOS is |