Commit 902e1cde authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(translate-region): Document that it accepts also a

char-table.
parent 0e86dca1
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment