diff options
author | Kenichi Handa <handa@m17n.org> | 2004-10-22 13:15:12 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2004-10-22 13:15:12 +0000 |
commit | 902e1cdef3ef9985b3e17bb875b24fd61337fdb1 (patch) | |
tree | c856381902d7c3335e47aba0f57aeca2160987fd /lispref/text.texi | |
parent | 0e86dca11a6c9ff2e17c12596f299838a62dbd7f (diff) | |
download | emacs-902e1cdef3ef9985b3e17bb875b24fd61337fdb1.tar.gz |
(translate-region): Document that it accepts also a
char-table.
Diffstat (limited to 'lispref/text.texi')
-rw-r--r-- | lispref/text.texi | 6 |
1 files 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. |