Mercurial > emacs
diff src/fns.c @ 64484:380dfb5322dc
(Fstring_as_multibyte): Escape backslashes in the
docstring.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Tue, 19 Jul 2005 02:38:57 +0000 |
| parents | a8fa7c632ee4 |
| children | a0d1312ede66 |
line wrap: on
line diff
--- a/src/fns.c Tue Jul 19 02:30:54 2005 +0000 +++ b/src/fns.c Tue Jul 19 02:38:57 2005 +0000 @@ -1153,13 +1153,13 @@ It is similar to (decode-coding-string STRING 'emacs-mule-unix). If you're not sure, whether to use `string-as-multibyte' or `string-to-multibyte', use `string-to-multibyte'. Beware: - (aref (string-as-multibyte "\201") 0) -> 129 (aka ?\201) - (aref (string-as-multibyte "\300") 0) -> 192 (aka ?\300) - (aref (string-as-multibyte "\300\201") 0) -> 192 (aka ?\300) - (aref (string-as-multibyte "\300\201") 1) -> 129 (aka ?\201) + (aref (string-as-multibyte "\\201") 0) -> 129 (aka ?\\201) + (aref (string-as-multibyte "\\300") 0) -> 192 (aka ?\\300) + (aref (string-as-multibyte "\\300\\201") 0) -> 192 (aka ?\\300) + (aref (string-as-multibyte "\\300\\201") 1) -> 129 (aka ?\\201) but - (aref (string-as-multibyte "\201\300") 0) -> 2240 - (aref (string-as-multibyte "\201\300") 1) -> <error> */) + (aref (string-as-multibyte "\\201\\300") 0) -> 2240 + (aref (string-as-multibyte "\\201\\300") 1) -> <error> */) (string) Lisp_Object string; {
