summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-05-23 17:32:41 +0000
committerRichard M. Stallman <rms@gnu.org>1997-05-23 17:32:41 +0000
commit8bcfd5ffd9ef7f9efeef64c08f18e3f20423ed5a (patch)
tree17427713ecde8f89735884a5de3af8595a235e7a
parentd6ebe5be943dcec977e8d4e6f8b05aeae4c36ecf (diff)
downloademacs-8bcfd5ffd9ef7f9efeef64c08f18e3f20423ed5a.tar.gz
(internal_equal): When comparing strings, ignore text props.
Friedman offers to fix anything that has trouble due to this.
-rw-r--r--src/fns.c7
1 files changed, 0 insertions, 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;