From: Eli Zaretskii Date: Sat, 8 May 2010 13:25:31 +0000 (+0300) Subject: Improve docs of Unicode General Category. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~225 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f884842302daef76710893343ebf923b9304273a;p=emacs.git Improve docs of Unicode General Category. nonascii.texi (Character Properties): Document unicode-category-table. Add an index entry for Unicode general category. --- diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index efd47aa8587..c6fe4ea9065 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 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