User: stephent
Date: 05/04/06 05:47:36
Modified: xemacs/src ChangeLog chartab.c
Log:
improve docstrings <87y8bwbmaa.fsf(a)tleepslib.sk.tsukuba.ac.jp&gt;
Revision Changes Path
1.821 +8 -0 XEmacs/xemacs/src/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/ChangeLog,v
retrieving revision 1.820
retrieving revision 1.821
diff -u -p -r1.820 -r1.821
--- ChangeLog 2005/04/05 17:42:48 1.820
+++ ChangeLog 2005/04/06 03:47:16 1.821
＠＠ -1,3 +1,11 ＠＠
+2005-04-06 Stephen J. Turnbull <stephen(a)xemacs.org&gt;
+
+ * chartab.c (Fchar_table_p):
+ (Fget_range_char_table):
+ (Fput_char_table):
+ (Fmap_char_table):
+ Describe range representation and fix typo.
+
2005-04-05 Aidan Kehoe <kehoea(a)parhasard.net&gt;
* mule-ccl.c (ccl_driver): Calculate the charset and position code
1.34 +14 -8 XEmacs/xemacs/src/chartab.c
Index: chartab.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/chartab.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -p -r1.33 -r1.34
--- chartab.c 2005/01/24 23:33:47 1.33
+++ chartab.c 2005/04/06 03:47:22 1.34
＠＠ -542,15 +542,17 ＠＠ once per character).
When Mule support exists, the types of ranges that can be assigned
values are
--- all characters
+-- all characters (represented by t)
-- an entire charset
--- a single row in a two-octet charset
+-- a single row in a two-octet charset (represented by a vector of two
+ elements: a two-octet charset and a row number; the row must be an
+ integer, not a character)
-- a single character
When Mule support is not present, the types of ranges that can be
assigned values are
--- all characters
+-- all characters (represented by t)
-- a single character
To create a char table, use `make-char-table'.
＠＠ -912,8 +914,11 ＠＠ updating_mirror_get_range_char_table (st
#endif /* ERROR_CHECK_TYPES */
DEFUN ("get-range-char-table", Fget_range_char_table, 2, 3, 0, /*
-Find value for a range in CHAR-TABLE.
+Find value for RANGE in CHAR-TABLE.
If there is more than one value, return MULTI (defaults to nil).
+
+Valid values for RANGE are single characters, charsets, a row in a
+two-octet charset, and all characters. See `put-char-table'.
*/
(range, char_table, multi))
{
＠＠ -1128,8 +1133,9 ＠＠ one of the following:
-- t (all characters are affected)
-- A charset (only allowed when Mule support is present)
--- A vector of two elements: a two-octet charset and a row number
- (only allowed when Mule support is present)
+-- A vector of two elements: a two-octet charset and a row number; the row
+ must be an integer, not a character (only allowed when Mule support is
+ present)
-- A single character
VALUE must be a value appropriate for the type of CHAR-TABLE.
＠＠ -1456,8 +1462,8 ＠＠ Map FUNCTION over entries in CHAR-TABLE,
each key and value in the table.
RANGE specifies a subrange to map over and is in the same format as
-the RANGE argument to `put-range-table'. If omitted or t, it defaults to
-the entire table.
+the RANGE argument to `put-char-table'. If omitted or t, it defaults to
+the entire table. See also `char-table-p'.
*/
(function, char_table, range))
{