]> git.eshelyaron.com Git - emacs.git/commitdiff
(Converting Representations): Update the description of what
authorEli Zaretskii <eliz@gnu.org>
Wed, 5 Jun 2002 17:52:03 +0000 (17:52 +0000)
committerEli Zaretskii <eliz@gnu.org>
Wed, 5 Jun 2002 17:52:03 +0000 (17:52 +0000)
string-make-unibyte does.

lispref/nonascii.texi

index 2d6f21056e1ce30f1beec1d8b0345719a3b1e778..fbeedc191c89d5256d0675e27def9eccc8a55e46 100644 (file)
@@ -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