aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2005-07-19 02:38:57 +0000
committerKenichi Handa2005-07-19 02:38:57 +0000
commitc061dd8f05146e6724b6fc4d5f2b524e69872cac (patch)
tree48ff39d6292235372762d9868e868b508b65e80a /src
parente9b01d1f58f742669d9adf87114e42c7267f8d01 (diff)
downloademacs-c061dd8f05146e6724b6fc4d5f2b524e69872cac.tar.gz
emacs-c061dd8f05146e6724b6fc4d5f2b524e69872cac.zip
(Fstring_as_multibyte): Escape backslashes in the
docstring.
Diffstat (limited to 'src')
-rw-r--r--src/fns.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fns.c b/src/fns.c
index f1e83f727a5..aefc61b7d94 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -1153,13 +1153,13 @@ Beware, this often doesn't really do what you think it does.
1153It is similar to (decode-coding-string STRING 'emacs-mule-unix). 1153It is similar to (decode-coding-string STRING 'emacs-mule-unix).
1154If you're not sure, whether to use `string-as-multibyte' or 1154If you're not sure, whether to use `string-as-multibyte' or
1155`string-to-multibyte', use `string-to-multibyte'. Beware: 1155`string-to-multibyte', use `string-to-multibyte'. Beware:
1156 (aref (string-as-multibyte "\201") 0) -> 129 (aka ?\201) 1156 (aref (string-as-multibyte "\\201") 0) -> 129 (aka ?\\201)
1157 (aref (string-as-multibyte "\300") 0) -> 192 (aka ?\300) 1157 (aref (string-as-multibyte "\\300") 0) -> 192 (aka ?\\300)
1158 (aref (string-as-multibyte "\300\201") 0) -> 192 (aka ?\300) 1158 (aref (string-as-multibyte "\\300\\201") 0) -> 192 (aka ?\\300)
1159 (aref (string-as-multibyte "\300\201") 1) -> 129 (aka ?\201) 1159 (aref (string-as-multibyte "\\300\\201") 1) -> 129 (aka ?\\201)
1160but 1160but
1161 (aref (string-as-multibyte "\201\300") 0) -> 2240 1161 (aref (string-as-multibyte "\\201\\300") 0) -> 2240
1162 (aref (string-as-multibyte "\201\300") 1) -> <error> */) 1162 (aref (string-as-multibyte "\\201\\300") 1) -> <error> */)
1163 (string) 1163 (string)
1164 Lisp_Object string; 1164 Lisp_Object string;
1165{ 1165{