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
82c602f0
Commit
82c602f0
authored
Nov 19, 2009
by
Richard M. Stallman
Browse files
* lread.c (Funintern): Error if symbol is t or nil.
parent
4265deab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
src/ChangeLog
src/ChangeLog
+4
-0
src/lread.c
src/lread.c
+3
-0
No files found.
src/ChangeLog
View file @
82c602f0
2009-11-19 Richard Stallman <rms@gnu.org>
* lread.c (Funintern): Error if symbol is t or nil.
2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
* insdel.c (make_gap_larger): Don't make as many assumptions about the
...
...
src/lread.c
View file @
82c602f0
...
...
@@ -3765,6 +3765,9 @@ OBARRAY defaults to the value of the variable `obarray'. */)
if (SYMBOLP (name) && !EQ (name, tem))
return Qnil;
if (EQ (tem, Qnil) || EQ (tem, Qt))
error ("Attempt to unintern t or nil");
XSYMBOL (tem)->interned = SYMBOL_UNINTERNED;
XSYMBOL (tem)->constant = 0;
XSYMBOL (tem)->indirect_variable = 0;
...
...
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