]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/fns.c (syms_of_fns): Leave `features' lexically scoped
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 12 Jul 2016 01:33:43 +0000 (21:33 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 12 Jul 2016 01:33:43 +0000 (21:33 -0400)
src/fns.c

index 270dfb41c172a0740f75916c2dc9450113d30155..c318608e4ceb7a741bc2c3bfd5b653956363823b 100644 (file)
--- a/src/fns.c
+++ b/src/fns.c
@@ -5147,6 +5147,9 @@ syms_of_fns (void)
     doc: /* A list of symbols which are the features of the executing Emacs.
 Used by `featurep' and `require', and altered by `provide'.  */);
   Vfeatures = list1 (Qemacs);
+  DEFSYM (Qfeatures, "features");
+  /* Let people use lexically scoped vars named `features'.  */
+  Fmake_var_non_special (Qfeatures);
   DEFSYM (Qsubfeatures, "subfeatures");
   DEFSYM (Qfuncall, "funcall");