Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
9660f5fc
Commit
9660f5fc
authored
May 15, 2012
by
Stefan Monnier
Browse files
* src/lread.c (init_obarray): Declare Qt and Qnil as special.
parent
033cdda6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
src/ChangeLog
src/ChangeLog
+4
-0
src/lread.c
src/lread.c
+3
-1
No files found.
src/ChangeLog
View file @
9660f5fc
2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
* lread.c (init_obarray): Declare Qt and Qnil as special.
2012-05-14 Glenn Morris <rgm@gnu.org>
* nsterm.m (ns_init_paths): Fix typo ("libexec" not "lib-exec").
...
...
src/lread.c
View file @
9660f5fc
...
...
@@ -24,7 +24,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <sys/stat.h>
#include <sys/file.h>
#include <errno.h>
#include <limits.h>
/*
f
or CHAR_BIT */
#include <limits.h> /*
F
or CHAR_BIT
.
*/
#include <setjmp.h>
#include "lisp.h"
#include "intervals.h"
...
...
@@ -3990,10 +3990,12 @@ init_obarray (void)
/* XSYMBOL (Qnil)->function = Qunbound; */
SET_SYMBOL_VAL (XSYMBOL (Qnil), Qnil);
XSYMBOL (Qnil)->constant = 1;
XSYMBOL (Qnil)->declared_special = 1;
XSYMBOL (Qnil)->plist = Qnil;
Qt = intern_c_string ("t");
SET_SYMBOL_VAL (XSYMBOL (Qt), Qt);
XSYMBOL (Qnil)->declared_special = 1;
XSYMBOL (Qt)->constant = 1;
/* Qt is correct even if CANNOT_DUMP. loadup.el will set to nil at end. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment