diff options
| author | Dave Love | 2002-10-14 17:13:49 +0000 |
|---|---|---|
| committer | Dave Love | 2002-10-14 17:13:49 +0000 |
| commit | 2d5cc537006f7cfdf8ea0e258e0ff133c5056389 (patch) | |
| tree | e8a18ba1f80361a14608e7115c666fc9864bad9a /src | |
| parent | a399fee5a35059891e66a2b4d54e7643c03fccbf (diff) | |
| download | emacs-2d5cc537006f7cfdf8ea0e258e0ff133c5056389.tar.gz emacs-2d5cc537006f7cfdf8ea0e258e0ff133c5056389.zip | |
(Fstring_as_multibyte, Fstring_to_multibyte): Doc fix.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 12 |
1 files changed, 9 insertions, 3 deletions
| @@ -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. |
| 1027 | If STRING is multibyte, the result is STRING itself. | 1027 | If STRING is multibyte, the result is STRING itself. |
| 1028 | Otherwise it is a newly created string, with no text properties. | 1028 | Otherwise it is a newly created string, with no text properties. |
| 1029 | |||
| 1029 | If STRING is unibyte and contains an individual 8-bit byte (i.e. not | 1030 | If STRING is unibyte and contains an individual 8-bit byte (i.e. not |
| 1030 | part of a multibyte form), it is converted to the corresponding | 1031 | part of a correct utf-8 sequence), it is converted to the corresponding |
| 1031 | multibyte character of charset `eight-bit-control' or `eight-bit-graphic'. */) | 1032 | multibyte character of charset `eight-bit'. |
| 1033 | See 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. | |||
| 1062 | Otherwise it is a newly created string, with no text properties. | 1064 | Otherwise it is a newly created string, with no text properties. |
| 1063 | 1065 | ||
| 1064 | If STRING is unibyte and contains an 8-bit byte, it is converted to | 1066 | If STRING is unibyte and contains an 8-bit byte, it is converted to |
| 1065 | the corresponding multibyte character of charset `eight-bit'. */) | 1067 | the corresponding multibyte character of charset `eight-bit'. |
| 1068 | |||
| 1069 | This differs from `string-as-multibyte' by converting each byte of a correct | ||
| 1070 | utf-8 sequence to an eight-bit character, not just bytes that don't form a | ||
| 1071 | correct sequence. */) | ||
| 1066 | (string) | 1072 | (string) |
| 1067 | Lisp_Object string; | 1073 | Lisp_Object string; |
| 1068 | { | 1074 | { |