# HG changeset patch # User Dave Love # Date 1034615629 0 # Node ID 61d0db65f8e4b3c09c895b5200c95039aa69e067 # Parent 00c46838d0ce11415a4d7241b49693760bd78473 (Fstring_as_multibyte, Fstring_to_multibyte): Doc fix. diff -r 00c46838d0ce -r 61d0db65f8e4 src/fns.c --- a/src/fns.c Fri Oct 11 20:57:12 2002 +0000 +++ b/src/fns.c Mon Oct 14 17:13:49 2002 +0000 @@ -1026,9 +1026,11 @@ doc: /* Return a multibyte string with the same individual bytes as STRING. If STRING is multibyte, the result is STRING itself. Otherwise it is a newly created string, with no text properties. + If STRING is unibyte and contains an individual 8-bit byte (i.e. not -part of a multibyte form), it is converted to the corresponding -multibyte character of charset `eight-bit-control' or `eight-bit-graphic'. */) +part of a correct utf-8 sequence), it is converted to the corresponding +multibyte character of charset `eight-bit'. +See also `string-to-multibyte'. */) (string) Lisp_Object string; { @@ -1062,7 +1064,11 @@ Otherwise it is a newly created string, with no text properties. If STRING is unibyte and contains an 8-bit byte, it is converted to -the corresponding multibyte character of charset `eight-bit'. */) +the corresponding multibyte character of charset `eight-bit'. + +This differs from `string-as-multibyte' by converting each byte of a correct +utf-8 sequence to an eight-bit character, not just bytes that don't form a +correct sequence. */) (string) Lisp_Object string; {