diff src/lread.c @ 195:a2f645c6b9f8 r20-3b24

Import from CVS: tag r20-3b24
author cvs
date Mon, 13 Aug 2007 09:59:05 +0200
parents 3d6bfa290dbd
children e45d5e7c476e
line wrap: on
line diff
--- a/src/lread.c	Mon Aug 13 09:58:32 2007 +0200
+++ b/src/lread.c	Mon Aug 13 09:59:05 2007 +0200
@@ -1125,10 +1125,10 @@
       hashtab = locate_file_find_directory_hash_table (pathel);
 
       /* Loop over suffixes.  */
-      for (tail = suffixtab, found = 0; !NILP (tail) && !found;
-	   tail = Fcdr (tail))
+      for (tail = suffixtab, found = 0; !found && CONSP (tail);
+	   tail = XCDR (tail))
 	{
-	  if (!NILP (Fgethash (Fcar (tail), hashtab, Qnil)))
+	  if (!NILP (Fgethash (XCAR (tail), hashtab, Qnil)))
 	    found = 1;
 	}
 
@@ -1215,7 +1215,7 @@
       tem = Fcar (tail);
 
       /* Find the feature's previous assoc list... */
-      if (!NILP (Fequal (source, Fcar (tem))))
+      if (internal_equal (source, Fcar (tem), 0))
 	{
 	  foundit = 1;
 
@@ -1235,13 +1235,13 @@
 
 	      while (CONSP (tem2))
 		{
-		  newelt = Fcar (tem2);
+		  newelt = XCAR (tem2);
 
 		  if (NILP (Fmemq (newelt, tem)))
 		    Fsetcar (tail, Fcons (Fcar (tem),
 					  Fcons (newelt, Fcdr (tem))));
 
-		  tem2 = Fcdr (tem2);
+		  tem2 = XCDR (tem2);
 		  QUIT;
 		}
 	    }