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
657d4c0b
Commit
657d4c0b
authored
Jun 08, 2010
by
Andreas Schwab
Browse files
* minibuf.c (Fall_completions): Add more checks.
parent
9b27fd9f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
src/ChangeLog
src/ChangeLog
+4
-0
src/minibuf.c
src/minibuf.c
+4
-2
No files found.
src/ChangeLog
View file @
657d4c0b
2010-06-08 Andreas Schwab <schwab@linux-m68k.org>
* minibuf.c (Fall_completions): Add more checks.
2010-06-08 Juanma Barranquero <lekktu@gmail.com>
* minibuf.c (Fall_completions): Check COLLECTION's size (bug#6378).
...
...
src/minibuf.c
View file @
657d4c0b
...
...
@@ -1590,7 +1590,9 @@ with a space are ignored unless STRING itself starts with a space. */)
if
(
type
==
2
)
{
obsize
=
XVECTOR
(
collection
)
->
size
;
bucket
=
obsize
?
XVECTOR
(
collection
)
->
contents
[
index
]
:
zero
;
if
(
obsize
==
0
)
return
Qnil
;
bucket
=
XVECTOR
(
collection
)
->
contents
[
index
];
}
while
(
1
)
...
...
@@ -1610,7 +1612,7 @@ with a space are ignored unless STRING itself starts with a space. */)
}
else
if
(
type
==
2
)
{
if
(
!
EQ
(
bucket
,
zero
))
if
(
SYMBOLP
(
bucket
))
{
elt
=
bucket
;
eltstring
=
elt
;
...
...
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