From 36febf9e9b7eed5f4cd150bb4617ca6fee24fb6c Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 23 May 1997 17:32:41 +0000 Subject: [PATCH] (internal_equal): When comparing strings, ignore text props. Friedman offers to fix anything that has trouble due to this. --- src/fns.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/fns.c b/src/fns.c index a7bcc28c3dd..d4a48d2dc8f 100644 --- a/src/fns.c +++ b/src/fns.c @@ -1159,13 +1159,6 @@ internal_equal (o1, o2, depth) 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; -- 2.39.5