aboutsummaryrefslogtreecommitdiffstats
path: root/src/lread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lread.c')
-rw-r--r--src/lread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lread.c b/src/lread.c
index eab9b8bea08..14f9393cc47 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -3833,7 +3833,7 @@ intern_sym (Lisp_Object sym, Lisp_Object obarray, Lisp_Object index)
3833 3833
3834 if (SREF (SYMBOL_NAME (sym), 0) == ':' && EQ (obarray, initial_obarray)) 3834 if (SREF (SYMBOL_NAME (sym), 0) == ':' && EQ (obarray, initial_obarray))
3835 { 3835 {
3836 XSYMBOL (sym)->constant = 1; 3836 make_symbol_constant (sym);
3837 XSYMBOL (sym)->redirect = SYMBOL_PLAINVAL; 3837 XSYMBOL (sym)->redirect = SYMBOL_PLAINVAL;
3838 SET_SYMBOL_VAL (XSYMBOL (sym), sym); 3838 SET_SYMBOL_VAL (XSYMBOL (sym), sym);
3839 } 3839 }
@@ -4120,12 +4120,12 @@ init_obarray (void)
4120 4120
4121 DEFSYM (Qnil, "nil"); 4121 DEFSYM (Qnil, "nil");
4122 SET_SYMBOL_VAL (XSYMBOL (Qnil), Qnil); 4122 SET_SYMBOL_VAL (XSYMBOL (Qnil), Qnil);
4123 XSYMBOL (Qnil)->constant = 1; 4123 make_symbol_constant (Qnil);
4124 XSYMBOL (Qnil)->declared_special = true; 4124 XSYMBOL (Qnil)->declared_special = true;
4125 4125
4126 DEFSYM (Qt, "t"); 4126 DEFSYM (Qt, "t");
4127 SET_SYMBOL_VAL (XSYMBOL (Qt), Qt); 4127 SET_SYMBOL_VAL (XSYMBOL (Qt), Qt);
4128 XSYMBOL (Qt)->constant = 1; 4128 make_symbol_constant (Qt);
4129 XSYMBOL (Qt)->declared_special = true; 4129 XSYMBOL (Qt)->declared_special = true;
4130 4130
4131 /* Qt is correct even if CANNOT_DUMP. loadup.el will set to nil at end. */ 4131 /* Qt is correct even if CANNOT_DUMP. loadup.el will set to nil at end. */