changeset 108316:2c9c20cfa4ee

Improve docs of Unicode General Category. nonascii.texi (Character Properties): Document unicode-category-table. Add an index entry for Unicode general category.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 08 May 2010 16:25:31 +0300
parents 8bb62bdbd80a
children 38a6beebdf4a
files doc/lispref/ChangeLog doc/lispref/nonascii.texi
diffstat 2 files changed, 18 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/doc/lispref/ChangeLog	Sat May 08 14:04:47 2010 +0200
+++ b/doc/lispref/ChangeLog	Sat May 08 16:25:31 2010 +0300
@@ -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):
--- a/doc/lispref/nonascii.texi	Sat May 08 14:04:47 2010 +0200
+++ b/doc/lispref/nonascii.texi	Sat May 08 16:25:31 2010 +0300
@@ -375,6 +375,7 @@
 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 @@
 @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