From: Stefan Monnier Date: Sat, 11 Dec 2004 21:57:50 +0000 (+0000) Subject: (Ftry_completion, Fall_completions): Don't use XFASTINT blindly. X-Git-Tag: ttn-vms-21-2-B4~3326 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b28fc9ff5b31493036df23bb75ebec9b4f9dd672;p=emacs.git (Ftry_completion, Fall_completions): Don't use XFASTINT blindly. --- diff --git a/src/minibuf.c b/src/minibuf.c index cb302f44c43..d9fec427ec4 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -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);