Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
373bf2b7
Commit
373bf2b7
authored
Jun 08, 2010
by
Andreas Schwab
Browse files
* minibuf.c (Fall_completions): Add more checks.
parent
657d4c0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/minibuf.c
src/minibuf.c
+4
-3
No files found.
src/minibuf.c
View file @
373bf2b7
...
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment