diff options
| author | Kenichi Handa | 2004-10-22 13:15:12 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2004-10-22 13:15:12 +0000 |
| commit | 902e1cdef3ef9985b3e17bb875b24fd61337fdb1 (patch) | |
| tree | c856381902d7c3335e47aba0f57aeca2160987fd /lispref | |
| parent | 0e86dca11a6c9ff2e17c12596f299838a62dbd7f (diff) | |
| download | emacs-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.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. | |||
| 3620 | This function applies a translation table to the characters in the | 3620 | This function applies a translation table to the characters in the |
| 3621 | buffer between positions @var{start} and @var{end}. | 3621 | buffer between positions @var{start} and @var{end}. |
| 3622 | 3622 | ||
| 3623 | The translation table @var{table} is a string; @code{(aref @var{table} | 3623 | The 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 | 3625 | corresponding to @var{ochar}. If @var{table} is a string, any |
| 3626 | characters with codes larger than the length of @var{table} are not | 3626 | characters with codes larger than the length of @var{table} are not |
| 3627 | altered by the translation. | 3627 | altered by the translation. |
| 3628 | 3628 | ||