1
Fork 0
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:
Stefan Monnier 2004-12-11 21:57:50 +00:00
parent 06ca62eb64
commit b28fc9ff5b

View file

@ -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);