From: Paul Eggert Date: Tue, 16 Dec 2014 22:49:14 +0000 (-0800) Subject: * lread.c (init_obarray): Declare Qt as special. X-Git-Tag: emacs-25.0.90~2635^2~56 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=005b86c0d061dab4279c74c45368a557733433a1;p=emacs.git * lread.c (init_obarray): Declare Qt as special. This fixes a typo in the 2012-05-15 patch that tried to declare Qt as special. --- diff --git a/src/ChangeLog b/src/ChangeLog index 596ae25c649..aa8adabfede 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2014-12-16 Paul Eggert + + * lread.c (init_obarray): Declare Qt as special. + This fixes a typo in the 2012-05-15 patch that + tried to declare Qt as special. + 2014-12-15 Stefan Monnier Various fixes to use bool type and constants. diff --git a/src/lread.c b/src/lread.c index 6f71ff5f468..afa47aafb86 100644 --- a/src/lread.c +++ b/src/lread.c @@ -4072,14 +4072,14 @@ init_obarray (void) set_symbol_plist (Qunbound, Qnil); SET_SYMBOL_VAL (XSYMBOL (Qnil), Qnil); XSYMBOL (Qnil)->constant = 1; - XSYMBOL (Qnil)->declared_special = 1; + XSYMBOL (Qnil)->declared_special = true; set_symbol_plist (Qnil, Qnil); set_symbol_function (Qnil, Qnil); Qt = intern_c_string ("t"); SET_SYMBOL_VAL (XSYMBOL (Qt), Qt); - XSYMBOL (Qnil)->declared_special = 1; XSYMBOL (Qt)->constant = 1; + XSYMBOL (Qt)->declared_special = true; /* Qt is correct even if CANNOT_DUMP. loadup.el will set to nil at end. */ Vpurify_flag = Qt;