aboutsummaryrefslogtreecommitdiffstats
path: root/src/fns.c
diff options
context:
space:
mode:
authorDave Love2002-10-14 17:13:49 +0000
committerDave Love2002-10-14 17:13:49 +0000
commit2d5cc537006f7cfdf8ea0e258e0ff133c5056389 (patch)
treee8a18ba1f80361a14608e7115c666fc9864bad9a /src/fns.c
parenta399fee5a35059891e66a2b4d54e7643c03fccbf (diff)
downloademacs-2d5cc537006f7cfdf8ea0e258e0ff133c5056389.tar.gz
emacs-2d5cc537006f7cfdf8ea0e258e0ff133c5056389.zip
(Fstring_as_multibyte, Fstring_to_multibyte): Doc fix.
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/fns.c b/src/fns.c
index d43f53febb7..27fdcdd35a3 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -1026,9 +1026,11 @@ DEFUN ("string-as-multibyte", Fstring_as_multibyte, Sstring_as_multibyte,
1026 doc: /* Return a multibyte string with the same individual bytes as STRING. 1026 doc: /* Return a multibyte string with the same individual bytes as STRING.
1027If STRING is multibyte, the result is STRING itself. 1027If STRING is multibyte, the result is STRING itself.
1028Otherwise it is a newly created string, with no text properties. 1028Otherwise it is a newly created string, with no text properties.
1029
1029If STRING is unibyte and contains an individual 8-bit byte (i.e. not 1030If STRING is unibyte and contains an individual 8-bit byte (i.e. not
1030part of a multibyte form), it is converted to the corresponding 1031part of a correct utf-8 sequence), it is converted to the corresponding
1031multibyte character of charset `eight-bit-control' or `eight-bit-graphic'. */) 1032multibyte character of charset `eight-bit'.
1033See also `string-to-multibyte'. */)
1032 (string) 1034 (string)
1033 Lisp_Object string; 1035 Lisp_Object string;
1034{ 1036{
@@ -1062,7 +1064,11 @@ If STRING is multibyte, the result is STRING itself.
1062Otherwise it is a newly created string, with no text properties. 1064Otherwise it is a newly created string, with no text properties.
1063 1065
1064If STRING is unibyte and contains an 8-bit byte, it is converted to 1066If STRING is unibyte and contains an 8-bit byte, it is converted to
1065the corresponding multibyte character of charset `eight-bit'. */) 1067the corresponding multibyte character of charset `eight-bit'.
1068
1069This differs from `string-as-multibyte' by converting each byte of a correct
1070utf-8 sequence to an eight-bit character, not just bytes that don't form a
1071correct sequence. */)
1066 (string) 1072 (string)
1067 Lisp_Object string; 1073 Lisp_Object string;
1068{ 1074{