# HG changeset patch # User Kenichi Handa # Date 1121740737 0 # Node ID 380dfb5322dc7857efdf325bb61ef47aa60b03a8 # Parent 3e2c8c1a9da69e3bcf1db24fdc2d36cab0b5c768 (Fstring_as_multibyte): Escape backslashes in the docstring. diff -r 3e2c8c1a9da6 -r 380dfb5322dc src/fns.c --- 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) -> */) + (aref (string-as-multibyte "\\201\\300") 0) -> 2240 + (aref (string-as-multibyte "\\201\\300") 1) -> */) (string) Lisp_Object string; {