Commit 82c602f0 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

* lread.c (Funintern): Error if symbol is t or nil.

parent 4265deab
2009-11-19 Richard Stallman <>
* lread.c (Funintern): Error if symbol is t or nil.
2009-11-19 Stefan Monnier <>
* insdel.c (make_gap_larger): Don't make as many assumptions about the
......@@ -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)->constant = 0;
XSYMBOL (tem)->indirect_variable = 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment