changeset 58896:dc2516edbe6c

(Ftry_completion, Fall_completions): Don't use XFASTINT blindly.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 11 Dec 2004 21:57:50 +0000
parents 4406d551c5c6
children 98e94b29b59b
files src/minibuf.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/minibuf.c	Sat Dec 11 21:53:33 2004 +0000
+++ b/src/minibuf.c	Sat Dec 11 21:57:50 2004 +0000
@@ -1253,7 +1253,7 @@
 	}
       else if (type == 2)
 	{
-	  if (XFASTINT (bucket) != 0)
+	  if (!EQ (bucket, make_number (0)))
 	    {
 	      elt = bucket;
 	      eltstring = Fsymbol_name (elt);
@@ -1509,7 +1509,7 @@
 	}
       else if (type == 2)
 	{
-	  if (XFASTINT (bucket) != 0)
+	  if (!EQ (bucket, make_number (0)))
 	    {
 	      elt = bucket;
 	      eltstring = Fsymbol_name (elt);