Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a3cbb631
Commit
a3cbb631
authored
Aug 29, 2008
by
Kenichi Handa
Browse files
(Vunicode_category_table): New variable.
(syms_of_character): DEFVAR_LISP Vunicode_category_table.
parent
6b7f0860
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
src/character.c
src/character.c
+11
-0
No files found.
src/character.c
View file @
a3cbb631
...
...
@@ -85,6 +85,8 @@ Lisp_Object Vscript_representative_chars;
static
Lisp_Object
Qchar_script_table
;
Lisp_Object
Vunicode_category_table
;
/* Mapping table from unibyte chars to multibyte chars. */
int
unibyte_to_multibyte_table
[
256
];
...
...
@@ -1104,6 +1106,15 @@ It has one extra slot whose value is a list of script symbols. */);
DEFVAR_LISP
(
"script-representative-chars"
,
&
Vscript_representative_chars
,
doc:
/* Alist of scripts vs the representative characters. */
);
Vscript_representative_chars
=
Qnil
;
DEFVAR_LISP
(
"unicode-category-table"
,
&
Vunicode_category_table
,
doc:
/* Char table of Unicode's "General Category".
All Unicode characters has one of the following values (symbol):
Lw, Ll, Lt, Lm, Lo, Mn, Mc, Me, Nd, Nl, No, Pc, Pd, Ps, Pe, Pi, Pf, Po,
Sm, Sc, Sk, So, Zs, Zl, Zp, Cc, Cf, Cs, Co, Cn
See The Unicode Standard for the meaning of those values. */
);
/* The correct char-table is setup in characters.el. */
Vunicode_category_table
=
Qnil
;
}
#endif
/* emacs */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment