changeset 21776:0b8510aab527

(Fintern): Initialize keywords only in initial obarray.
author Richard M. Stallman <rms@gnu.org>
date Sun, 26 Apr 1998 19:16:46 +0000
parents b90287cb111a
children a28b0160cc1b
files src/lread.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lread.c	Sun Apr 26 19:16:25 1998 +0000
+++ b/src/lread.c	Sun Apr 26 19:16:46 1998 +0000
@@ -2306,7 +2306,8 @@
   sym = Fmake_symbol (string);
   XSYMBOL (sym)->obarray = obarray;
 
-  if (XSTRING (string)->data[0] == ':')
+  if ((XSTRING (string)->data[0] == ':')
+      && obarray == initial_obarray)
     XSYMBOL (sym)->value = sym;
 
   ptr = &XVECTOR (obarray)->contents[XINT (tem)];