changeset 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 24ec89bbe7bc
children 8d482c598152
files lispref/text.texi
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
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.