summaryrefslogtreecommitdiff
path: root/doc/lispref/nonascii.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2010-05-08 16:25:31 +0300
committerEli Zaretskii <eliz@gnu.org>2010-05-08 16:25:31 +0300
commitf884842302daef76710893343ebf923b9304273a (patch)
treeb4dbf05dbd346117bdc1a6845615a6da28febcfc /doc/lispref/nonascii.texi
parent4721152c32bf2f4fac259c0c6c7566b2bc0854d2 (diff)
downloademacs-f884842302daef76710893343ebf923b9304273a.tar.gz
Improve docs of Unicode General Category.
nonascii.texi (Character Properties): Document unicode-category-table. Add an index entry for Unicode general category.
Diffstat (limited to 'doc/lispref/nonascii.texi')
-rw-r--r--doc/lispref/nonascii.texi18
1 files changed, 12 insertions, 6 deletions
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi
index dfcb3e4730b..00a1dffed6a 100644
--- a/doc/lispref/nonascii.texi
+++ b/doc/lispref/nonascii.texi
@@ -375,6 +375,7 @@ This property corresponds to the Unicode @code{Name} property. The
value is a string consisting of upper-case Latin letters A to Z,
digits, spaces, and hyphen @samp{-} characters.
+@cindex unicode general category
@item general-category
This property corresponds to the Unicode @code{General_Category}
property. The value is a symbol whose name is a 2-letter abbreviation
@@ -501,13 +502,18 @@ This function stores @var{value} as the value of the property
@var{propname} for the character @var{char}.
@end defun
-@defvar char-script-table
+@defvar unicode-category-table
The value of this variable is a char-table (@pxref{Char-Tables}) that
-specifies, for each character, a symbol whose name is the script to
-which the character belongs, according to the Unicode Standard
-classification of the Unicode code space into script-specific blocks.
-This char-table has a single extra slot whose value is the list of all
-script symbols.
+specifies, for each character, its Unicode @code{General_Category}
+property as a symbol.
+@end defvar
+
+@defvar char-script-table
+The value of this variable is a char-table that specifies, for each
+character, a symbol whose name is the script to which the character
+belongs, according to the Unicode Standard classification of the
+Unicode code space into script-specific blocks. This char-table has a
+single extra slot whose value is the list of all script symbols.
@end defvar
@defvar char-width-table