diff options
Diffstat (limited to 'src/fns.c')
| -rw-r--r-- | src/fns.c | 19 |
1 files changed, 10 insertions, 9 deletions
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Random utility Lisp functions. | 1 | /* Random utility Lisp functions. |
| 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 1998, 1999, 2000, | 2 | Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, |
| 3 | 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -1153,13 +1154,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). | 1154 | It is similar to (decode-coding-string STRING 'emacs-mule-unix). |
| 1154 | If you're not sure, whether to use `string-as-multibyte' or | 1155 | If you're not sure, whether to use `string-as-multibyte' or |
| 1155 | `string-to-multibyte', use `string-to-multibyte'. Beware: | 1156 | `string-to-multibyte', use `string-to-multibyte'. Beware: |
| 1156 | (aref (string-as-multibyte "\201") 0) -> 129 (aka ?\201) | 1157 | (aref (string-as-multibyte "\\201") 0) -> 129 (aka ?\\201) |
| 1157 | (aref (string-as-multibyte "\300") 0) -> 192 (aka ?\300) | 1158 | (aref (string-as-multibyte "\\300") 0) -> 192 (aka ?\\300) |
| 1158 | (aref (string-as-multibyte "\300\201") 0) -> 192 (aka ?\300) | 1159 | (aref (string-as-multibyte "\\300\\201") 0) -> 192 (aka ?\\300) |
| 1159 | (aref (string-as-multibyte "\300\201") 1) -> 129 (aka ?\201) | 1160 | (aref (string-as-multibyte "\\300\\201") 1) -> 129 (aka ?\\201) |
| 1160 | but | 1161 | but |
| 1161 | (aref (string-as-multibyte "\201\300") 0) -> 2240 | 1162 | (aref (string-as-multibyte "\\201\\300") 0) -> 2240 |
| 1162 | (aref (string-as-multibyte "\201\300") 1) -> <error> */) | 1163 | (aref (string-as-multibyte "\\201\\300") 1) -> <error> */) |
| 1163 | (string) | 1164 | (string) |
| 1164 | Lisp_Object string; | 1165 | Lisp_Object string; |
| 1165 | { | 1166 | { |
| @@ -5832,7 +5833,7 @@ syms_of_fns () | |||
| 5832 | DEFVAR_LISP ("features", &Vfeatures, | 5833 | DEFVAR_LISP ("features", &Vfeatures, |
| 5833 | doc: /* A list of symbols which are the features of the executing emacs. | 5834 | doc: /* A list of symbols which are the features of the executing emacs. |
| 5834 | Used by `featurep' and `require', and altered by `provide'. */); | 5835 | Used by `featurep' and `require', and altered by `provide'. */); |
| 5835 | Vfeatures = Qnil; | 5836 | Vfeatures = Fcons (intern ("emacs"), Qnil); |
| 5836 | Qsubfeatures = intern ("subfeatures"); | 5837 | Qsubfeatures = intern ("subfeatures"); |
| 5837 | staticpro (&Qsubfeatures); | 5838 | staticpro (&Qsubfeatures); |
| 5838 | 5839 | ||