HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
657d4c0
)
* minibuf.c (Fall_completions): Add more checks.
author
Andreas Schwab
<schwab@linux-m68k.org>
Tue, 8 Jun 2010 19:42:10 +0000
(21:42 +0200)
committer
Andreas Schwab
<schwab@linux-m68k.org>
Tue, 8 Jun 2010 19:42:10 +0000
(21:42 +0200)
src/minibuf.c
patch
|
blob
|
blame
|
history
diff --git
a/src/minibuf.c
b/src/minibuf.c
index
54b0b15
..
539a953
100644
(file)
--- a/
src/minibuf.c
+++ b/
src/minibuf.c
@@
-1589,9
+1589,8
@@
with a space are ignored unless STRING itself starts with a space. */)
tail = collection;
if (type == 2)
{
+ collection = check_obarray (collection);
obsize = XVECTOR (collection)->size;
- if (obsize == 0)
- return Qnil;
bucket = XVECTOR (collection)->contents[index];
}
@@
-1612,8
+1611,10
@@
with a space are ignored unless STRING itself starts with a space. */)
}
else if (type == 2)
{
- if (
SYMBOLP (bucket
))
+ if (
!EQ (bucket, zero
))
{
+ if (!SYMBOLP (bucket))
+ error ("Bad data in guts of obarray");
elt = bucket;
eltstring = elt;
if (XSYMBOL (bucket)->next)