summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2002-06-05 17:52:03 +0000
committerEli Zaretskii <eliz@gnu.org>2002-06-05 17:52:03 +0000
commit67abb36b79509a7b82def741bc77ad7c867fadab (patch)
tree48c19bc00804c212fd9e2c0b414a4757a9dbf99c /lispref
parent917e7eab364186cf58e1feae53b8d7ef2baab888 (diff)
downloademacs-67abb36b79509a7b82def741bc77ad7c867fadab.tar.gz
(Converting Representations): Update the description of what
string-make-unibyte does.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/nonascii.texi8
1 files changed, 5 insertions, 3 deletions
diff --git a/lispref/nonascii.texi b/lispref/nonascii.texi
index 2d6f21056e1..fbeedc191c8 100644
--- a/lispref/nonascii.texi
+++ b/lispref/nonascii.texi
@@ -176,9 +176,11 @@ If this is non-@code{nil}, it overrides @code{nonascii-insert-offset}.
@defun string-make-unibyte string
This function converts the text of @var{string} to unibyte
representation, if it isn't already, and returns the result. If
-@var{string} is a unibyte string, it is returned unchanged.
-Multibyte character codes are converted to unibyte
-by using just the low 8 bits.
+@var{string} is a unibyte string, it is returned unchanged. Multibyte
+character codes are converted to unibyte according to
+@code{nonascii-translation-table} or, if that is @code{nil}, using
+@code{nonascii-insert-offset}. If the lookup in the translation table
+fails, this function takes just the low 8 bits of each character.
@end defun
@defun string-make-multibyte string