diff lispref/text.texi @ 57646:3611af22c464

(translate-region): Document that it accepts also a char-table.
author Kenichi Handa <handa@m17n.org>
date Fri, 22 Oct 2004 13:15:12 +0000
parents c50e857202e2
children e347a194391a 0fe073a08cef
line wrap: on
line diff
--- 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.