[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 005b86c: * lread.c (init_obarray): Declare Qt as sp
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master 005b86c: * lread.c (init_obarray): Declare Qt as special. |
Date: |
Tue, 16 Dec 2014 22:50:23 +0000 |
branch: master
commit 005b86c0d061dab4279c74c45368a557733433a1
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
* 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 596ae25..aa8adab 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
+2014-12-16 Paul Eggert <address@hidden>
+
+ * 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 <address@hidden>
Various fixes to use bool type and constants.
diff --git a/src/lread.c b/src/lread.c
index 6f71ff5..afa47aa 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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 005b86c: * lread.c (init_obarray): Declare Qt as special.,
Paul Eggert <=