]> git.eshelyaron.com Git - emacs.git/commitdiff
(Ftry_completion, Fall_completions): Don't use XFASTINT blindly.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 11 Dec 2004 21:57:50 +0000 (21:57 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 11 Dec 2004 21:57:50 +0000 (21:57 +0000)
src/minibuf.c

index cb302f44c4358bdc24053124395dd93208abaa53..d9fec427ec4cc1c801c209f406ec1cc4d4af419c 100644 (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);