From 902e1cdef3ef9985b3e17bb875b24fd61337fdb1 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 22 Oct 2004 13:15:12 +0000 Subject: [PATCH] (translate-region): Document that it accepts also a char-table. --- lispref/text.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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. -- 2.39.5