aboutsummaryrefslogtreecommitdiffstats
path: root/src/fns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/fns.c b/src/fns.c
index f1e83f727a5..1e26ec9a392 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -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
5This file is part of GNU Emacs. 6This file is part of GNU Emacs.
6 7
@@ -1153,13 +1154,13 @@ Beware, this often doesn't really do what you think it does.
1153It is similar to (decode-coding-string STRING 'emacs-mule-unix). 1154It is similar to (decode-coding-string STRING 'emacs-mule-unix).
1154If you're not sure, whether to use `string-as-multibyte' or 1155If 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)
1160but 1161but
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.
5834Used by `featurep' and `require', and altered by `provide'. */); 5835Used 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