aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-07-28 15:09:31 +0000
committerRichard M. Stallman1997-07-28 15:09:31 +0000
commit4f5c44033032558a1a27f4bf922c44dc30a416a2 (patch)
tree3b6753f881e7dec0a08ea49985ec337ae1846bd4 /src
parent0e193890cc5ad35f3ee9c2c61b902150a640ecc1 (diff)
downloademacs-4f5c44033032558a1a27f4bf922c44dc30a416a2.tar.gz
emacs-4f5c44033032558a1a27f4bf922c44dc30a416a2.zip
(map_obarray): Don't crash if something strange is in the obarray.
Diffstat (limited to 'src')
-rw-r--r--src/lread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lread.c b/src/lread.c
index 7f718dce681..60583bafbb2 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -2248,7 +2248,7 @@ map_obarray (obarray, fn, arg)
2248 for (i = XVECTOR (obarray)->size - 1; i >= 0; i--) 2248 for (i = XVECTOR (obarray)->size - 1; i >= 0; i--)
2249 { 2249 {
2250 tail = XVECTOR (obarray)->contents[i]; 2250 tail = XVECTOR (obarray)->contents[i];
2251 if (XFASTINT (tail) != 0) 2251 if (SYMBOLP (tail))
2252 while (1) 2252 while (1)
2253 { 2253 {
2254 (*fn) (tail, arg); 2254 (*fn) (tail, arg);