]> git.eshelyaron.com Git - emacs.git/commitdiff
(translate-region): Document that it accepts also a
authorKenichi Handa <handa@m17n.org>
Fri, 22 Oct 2004 13:15:12 +0000 (13:15 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 22 Oct 2004 13:15:12 +0000 (13:15 +0000)
char-table.

lispref/text.texi

index 00aa235f513521e0aa326505d5b909f68563670b..1f61c1cf22c9021b4dc39330d020d600d5b80458 100644 (file)
@@ -3620,9 +3620,9 @@ ThXs Xs the contents of the buffer before.
 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.