From f884842302daef76710893343ebf923b9304273a Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 8 May 2010 16:25:31 +0300 Subject: [PATCH] Improve docs of Unicode General Category. nonascii.texi (Character Properties): Document unicode-category-table. Add an index entry for Unicode general category. --- doc/lispref/ChangeLog | 6 ++++++ doc/lispref/nonascii.texi | 18 ++++++++++++------ 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index efd47aa858..c6fe4ea906 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,9 @@ +2010-05-08 Eli Zaretskii + + * nonascii.texi (Character Properties): Document + unicode-category-table. Add an index entry for Unicode general + category. + 2010-04-20 Juanma Barranquero * locals.texi (Standard Buffer-Local Variables): diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi index dfcb3e4730..00a1dffed6 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 -- 2.20.1