comparison lispref/text.texi @ 90037:0fe073a08cef

Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-65 Merge from emacs--cvs-trunk--0 Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-634 - miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-639 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-640 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-641 Update from CVS * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-59 - miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-60 Update from CVS
author Miles Bader <miles@gnu.org>
date Wed, 27 Oct 2004 05:42:04 +0000
parents ff0e824afa37 3611af22c464
children f2ebccfa87d4
comparison
equal deleted inserted replaced
90036:af754c88f187 90037:0fe073a08cef
3618 3618
3619 @defun translate-region start end table 3619 @defun translate-region start end table
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
3629 The return value of @code{translate-region} is the number of 3629 The return value of @code{translate-region} is the number of
3630 characters that were actually changed by the translation. This does 3630 characters that were actually changed by the translation. This does