# HG changeset patch # User Kenichi Handa # Date 1098450912 0 # Node ID 3611af22c464a6aa19ea49e889aea83bf3fc4f0a # Parent 24ec89bbe7bcf42e861f89fdd99a6127f38a23a5 (translate-region): Document that it accepts also a char-table. diff -r 24ec89bbe7bc -r 3611af22c464 lispref/text.texi --- a/lispref/text.texi Fri Oct 22 13:10:23 2004 +0000 +++ b/lispref/text.texi Fri Oct 22 13:15:12 2004 +0000 @@ -3620,9 +3620,9 @@ This function applies a translation table to the characters in the buffer between positions @var{start} and @var{end}. -The translation table @var{table} is a string; @code{(aref @var{table} -@var{ochar})} gives the translated character corresponding to -@var{ochar}. If the length of @var{table} is less than 256, any +The translation table @var{table} is a string or a char-table; +@code{(aref @var{table} @var{ochar})} gives the translated character +corresponding to @var{ochar}. If @var{table} is a string, any characters with codes larger than the length of @var{table} are not altered by the translation.