From: Stefan Monnier Date: Thu, 19 Nov 2009 22:10:40 +0000 (+0000) Subject: (Funintern): Comment out last change. X-Git-Tag: emacs-pretest-23.1.90~332 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8ab1650ee30cf51b9756f093975d4f58b7839688;p=emacs.git (Funintern): Comment out last change. --- diff --git a/src/ChangeLog b/src/ChangeLog index 7fb2eb208d7..eeceb7b767d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2009-11-19 Stefan Monnier + + * lread.c (Funintern): Comment out last change. + 2009-11-19 Richard Stallman * lread.c (Funintern): Error if symbol is t or nil. @@ -193,7 +197,7 @@ 2009-11-10 Stefan Monnier - * fns.c (Fplist_get): Merge the active and the uncommented code. + * fns.c (Fplist_get): Merge the active and the commented out code. 2009-11-10 Jan Djärv diff --git a/src/lread.c b/src/lread.c index ecece80229a..c565ce9fd5d 100644 --- a/src/lread.c +++ b/src/lread.c @@ -3765,8 +3765,12 @@ 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"); + /* There are plenty of other symbols which will screw up the Emacs + session if we unintern them, as well as even more ways to use + `setq' or `fset' or whatnot to make the Emacs session + unusable. Let's not go down this silly road. --Stef */ + /* if (EQ (tem, Qnil) || EQ (tem, Qt)) + error ("Attempt to unintern t or nil"); */ XSYMBOL (tem)->interned = SYMBOL_UNINTERNED; XSYMBOL (tem)->constant = 0;