mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-28 00:01:33 -08:00
(Ftry_completion, Fall_completions): Don't use XFASTINT blindly.
This commit is contained in:
parent
06ca62eb64
commit
b28fc9ff5b
1 changed files with 2 additions and 2 deletions
|
|
@ -1253,7 +1253,7 @@ is used to further constrain the set of candidates. */)
|
|||
}
|
||||
else if (type == 2)
|
||||
{
|
||||
if (XFASTINT (bucket) != 0)
|
||||
if (!EQ (bucket, make_number (0)))
|
||||
{
|
||||
elt = bucket;
|
||||
eltstring = Fsymbol_name (elt);
|
||||
|
|
@ -1509,7 +1509,7 @@ are ignored unless STRING itself starts with a space. */)
|
|||
}
|
||||
else if (type == 2)
|
||||
{
|
||||
if (XFASTINT (bucket) != 0)
|
||||
if (!EQ (bucket, make_number (0)))
|
||||
{
|
||||
elt = bucket;
|
||||
eltstring = Fsymbol_name (elt);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue