]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve docs of Unicode General Category.
authorEli Zaretskii <eliz@gnu.org>
Sat, 8 May 2010 13:25:31 +0000 (16:25 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 8 May 2010 13:25:31 +0000 (16:25 +0300)
 nonascii.texi (Character Properties): Document unicode-category-table.
 Add an index entry for Unicode general category.

doc/lispref/ChangeLog
doc/lispref/nonascii.texi

index efd47aa8587366353d06d36fa9200249c31bb3dd..c6fe4ea90658a8683e5cf9ea126ffd9cab5093af 100644 (file)
@@ -1,3 +1,9 @@
+2010-05-08  Eli Zaretskii  <eliz@gnu.org>
+
+       * nonascii.texi (Character Properties): Document
+       unicode-category-table.  Add an index entry for Unicode general
+       category.
+
 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
 
        * locals.texi (Standard Buffer-Local Variables):
index dfcb3e4730b1ba7968d05d53f600fec1e7902af5..00a1dffed6a379a0cfbb8e230a643663b91120b5 100644 (file)
@@ -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