diff options
| author | Kenichi Handa | 2005-07-19 02:38:57 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2005-07-19 02:38:57 +0000 |
| commit | c061dd8f05146e6724b6fc4d5f2b524e69872cac (patch) | |
| tree | 48ff39d6292235372762d9868e868b508b65e80a /src | |
| parent | e9b01d1f58f742669d9adf87114e42c7267f8d01 (diff) | |
| download | emacs-c061dd8f05146e6724b6fc4d5f2b524e69872cac.tar.gz emacs-c061dd8f05146e6724b6fc4d5f2b524e69872cac.zip | |
(Fstring_as_multibyte): Escape backslashes in the
docstring.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 12 |
1 files changed, 6 insertions, 6 deletions
| @@ -1153,13 +1153,13 @@ Beware, this often doesn't really do what you think it does. | |||
| 1153 | It is similar to (decode-coding-string STRING 'emacs-mule-unix). | 1153 | It is similar to (decode-coding-string STRING 'emacs-mule-unix). |
| 1154 | If you're not sure, whether to use `string-as-multibyte' or | 1154 | If 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) |
| 1160 | but | 1160 | but |
| 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 | { |