From 005b86c0d061dab4279c74c45368a557733433a1 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 16 Dec 2014 14:49:14 -0800 Subject: [PATCH] * 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. --- src/ChangeLog | 6 ++++++ src/lread.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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; -- 2.39.2