aboutsummaryrefslogtreecommitdiffstats
path: root/lispref
diff options
context:
space:
mode:
authorKenichi Handa2004-10-22 13:15:12 +0000
committerKenichi Handa2004-10-22 13:15:12 +0000
commit902e1cdef3ef9985b3e17bb875b24fd61337fdb1 (patch)
treec856381902d7c3335e47aba0f57aeca2160987fd /lispref
parent0e86dca11a6c9ff2e17c12596f299838a62dbd7f (diff)
downloademacs-902e1cdef3ef9985b3e17bb875b24fd61337fdb1.tar.gz
emacs-902e1cdef3ef9985b3e17bb875b24fd61337fdb1.zip
(translate-region): Document that it accepts also a
char-table.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/text.texi6
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.
3620This function applies a translation table to the characters in the 3620This function applies a translation table to the characters in the
3621buffer between positions @var{start} and @var{end}. 3621buffer between positions @var{start} and @var{end}.
3622 3622
3623The translation table @var{table} is a string; @code{(aref @var{table} 3623The translation table @var{table} is a string or a char-table;
3624@var{ochar})} gives the translated character corresponding to 3624@code{(aref @var{table} @var{ochar})} gives the translated character
3625@var{ochar}. If the length of @var{table} is less than 256, any 3625corresponding to @var{ochar}. If @var{table} is a string, any
3626characters with codes larger than the length of @var{table} are not 3626characters with codes larger than the length of @var{table} are not
3627altered by the translation. 3627altered by the translation.
3628 3628