From: Kenichi Handa Date: Fri, 22 Oct 2004 13:15:12 +0000 (+0000) Subject: (translate-region): Document that it accepts also a X-Git-Tag: ttn-vms-21-2-B4~4443 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=902e1cdef3ef9985b3e17bb875b24fd61337fdb1;p=emacs.git (translate-region): Document that it accepts also a char-table. --- diff --git a/lispref/text.texi b/lispref/text.texi index 00aa235f513..1f61c1cf22c 100644 --- a/lispref/text.texi +++ b/lispref/text.texi @@ -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.