aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2008-08-29 07:52:46 +0000
committerKenichi Handa2008-08-29 07:52:46 +0000
commita3cbb6314b5718226109c741f5c916684de6b935 (patch)
treee99e40c7b3bb338843f58569e6ef704801bdd782 /src
parent6b7f08601c1e0e889ebc96227ec92f5f277eb0ca (diff)
downloademacs-a3cbb6314b5718226109c741f5c916684de6b935.tar.gz
emacs-a3cbb6314b5718226109c741f5c916684de6b935.zip
(Vunicode_category_table): New variable.
(syms_of_character): DEFVAR_LISP Vunicode_category_table.
Diffstat (limited to 'src')
-rw-r--r--src/character.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/character.c b/src/character.c
index ede99cf7776..062adeb57b3 100644
--- a/src/character.c
+++ b/src/character.c
@@ -85,6 +85,8 @@ Lisp_Object Vscript_representative_chars;
85 85
86static Lisp_Object Qchar_script_table; 86static Lisp_Object Qchar_script_table;
87 87
88Lisp_Object Vunicode_category_table;
89
88/* Mapping table from unibyte chars to multibyte chars. */ 90/* Mapping table from unibyte chars to multibyte chars. */
89int unibyte_to_multibyte_table[256]; 91int unibyte_to_multibyte_table[256];
90 92
@@ -1104,6 +1106,15 @@ It has one extra slot whose value is a list of script symbols. */);
1104 DEFVAR_LISP ("script-representative-chars", &Vscript_representative_chars, 1106 DEFVAR_LISP ("script-representative-chars", &Vscript_representative_chars,
1105 doc: /* Alist of scripts vs the representative characters. */); 1107 doc: /* Alist of scripts vs the representative characters. */);
1106 Vscript_representative_chars = Qnil; 1108 Vscript_representative_chars = Qnil;
1109
1110 DEFVAR_LISP ("unicode-category-table", &Vunicode_category_table,
1111 doc: /* Char table of Unicode's "General Category".
1112All Unicode characters has one of the following values (symbol):
1113 Lw, Ll, Lt, Lm, Lo, Mn, Mc, Me, Nd, Nl, No, Pc, Pd, Ps, Pe, Pi, Pf, Po,
1114 Sm, Sc, Sk, So, Zs, Zl, Zp, Cc, Cf, Cs, Co, Cn
1115See The Unicode Standard for the meaning of those values. */);
1116 /* The correct char-table is setup in characters.el. */
1117 Vunicode_category_table = Qnil;
1107} 1118}
1108 1119
1109#endif /* emacs */ 1120#endif /* emacs */