diff src/fns.c @ 17931:7e6a77408020

(internal_equal): When comparing strings, ignore text props. Friedman offers to fix anything that has trouble due to this.
author Richard M. Stallman <rms@gnu.org>
date Fri, 23 May 1997 17:32:41 +0000
parents 961399e23170
children 2873e0dabbc1
line wrap: on
line diff
--- a/src/fns.c	Fri May 23 17:32:12 1997 +0000
+++ b/src/fns.c	Fri May 23 17:32:41 1997 +0000
@@ -1159,13 +1159,6 @@
       if (bcmp (XSTRING (o1)->data, XSTRING (o2)->data,
 		XSTRING (o1)->size))
 	return 0;
-#ifdef USE_TEXT_PROPERTIES
-      /* If the strings have intervals, verify they match;
-	 if not, they are unequal.  */
-      if ((XSTRING (o1)->intervals != 0 || XSTRING (o2)->intervals != 0)
-	  && ! compare_string_intervals (o1, o2))
-	return 0;
-#endif
       return 1;
     }
   return 0;