aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2009-11-19 22:10:40 +0000
committerStefan Monnier2009-11-19 22:10:40 +0000
commit8ab1650ee30cf51b9756f093975d4f58b7839688 (patch)
tree270cc87239ad96a1c130580995eb9d2b9694042a /src
parentd2c9fc42316b567f20f59747a7aec940256517b8 (diff)
downloademacs-8ab1650ee30cf51b9756f093975d4f58b7839688.tar.gz
emacs-8ab1650ee30cf51b9756f093975d4f58b7839688.zip
(Funintern): Comment out last change.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/lread.c8
2 files changed, 11 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7fb2eb208d7..eeceb7b767d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * lread.c (Funintern): Comment out last change.
4
12009-11-19 Richard Stallman <rms@gnu.org> 52009-11-19 Richard Stallman <rms@gnu.org>
2 6
3 * lread.c (Funintern): Error if symbol is t or nil. 7 * lread.c (Funintern): Error if symbol is t or nil.
@@ -193,7 +197,7 @@
193 197
1942009-11-10 Stefan Monnier <monnier@iro.umontreal.ca> 1982009-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
195 199
196 * fns.c (Fplist_get): Merge the active and the uncommented code. 200 * fns.c (Fplist_get): Merge the active and the commented out code.
197 201
1982009-11-10 Jan Djärv <jan.h.d@swipnet.se> 2022009-11-10 Jan Djärv <jan.h.d@swipnet.se>
199 203
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'. */)
3765 if (SYMBOLP (name) && !EQ (name, tem)) 3765 if (SYMBOLP (name) && !EQ (name, tem))
3766 return Qnil; 3766 return Qnil;
3767 3767
3768 if (EQ (tem, Qnil) || EQ (tem, Qt)) 3768 /* There are plenty of other symbols which will screw up the Emacs
3769 error ("Attempt to unintern t or nil"); 3769 session if we unintern them, as well as even more ways to use
3770 `setq' or `fset' or whatnot to make the Emacs session
3771 unusable. Let's not go down this silly road. --Stef */
3772 /* if (EQ (tem, Qnil) || EQ (tem, Qt))
3773 error ("Attempt to unintern t or nil"); */
3770 3774
3771 XSYMBOL (tem)->interned = SYMBOL_UNINTERNED; 3775 XSYMBOL (tem)->interned = SYMBOL_UNINTERNED;
3772 XSYMBOL (tem)->constant = 0; 3776 XSYMBOL (tem)->constant = 0;