Mercurial > emacs
changeset 106133:5e6998ac1a2e
(Funintern): Comment out last change.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 19 Nov 2009 22:10:40 +0000 |
parents | 57f23ca20a76 |
children | cff2b8b6d64e |
files | src/ChangeLog src/lread.c |
diffstat | 2 files changed, 11 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Thu Nov 19 22:05:40 2009 +0000 +++ b/src/ChangeLog Thu Nov 19 22:10:40 2009 +0000 @@ -1,3 +1,7 @@ +2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca> + + * lread.c (Funintern): Comment out last change. + 2009-11-19 Richard Stallman <rms@gnu.org> * lread.c (Funintern): Error if symbol is t or nil. @@ -193,7 +197,7 @@ 2009-11-10 Stefan Monnier <monnier@iro.umontreal.ca> - * 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 <jan.h.d@swipnet.se>
--- a/src/lread.c Thu Nov 19 22:05:40 2009 +0000 +++ b/src/lread.c Thu Nov 19 22:10:40 2009 +0000 @@ -3765,8 +3765,12 @@ 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;