From b28fc9ff5b31493036df23bb75ebec9b4f9dd672 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sat, 11 Dec 2004 21:57:50 +0000 Subject: [PATCH] (Ftry_completion, Fall_completions): Don't use XFASTINT blindly. --- src/minibuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2