diff options
| author | Richard M. Stallman | 1997-05-23 17:32:41 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-05-23 17:32:41 +0000 |
| commit | 36febf9e9b7eed5f4cd150bb4617ca6fee24fb6c (patch) | |
| tree | e8cb3b99c09a82caa1627d6104d383323eb6e290 | |
| parent | 83897674fc087fb5ffef9368144e3b67e4cee037 (diff) | |
| download | emacs-36febf9e9b7eed5f4cd150bb4617ca6fee24fb6c.tar.gz emacs-36febf9e9b7eed5f4cd150bb4617ca6fee24fb6c.zip | |
(internal_equal): When comparing strings, ignore text props.
Friedman offers to fix anything that has trouble due to this.
| -rw-r--r-- | src/fns.c | 7 |
1 files changed, 0 insertions, 7 deletions
| @@ -1159,13 +1159,6 @@ internal_equal (o1, o2, depth) | |||
| 1159 | if (bcmp (XSTRING (o1)->data, XSTRING (o2)->data, | 1159 | if (bcmp (XSTRING (o1)->data, XSTRING (o2)->data, |
| 1160 | XSTRING (o1)->size)) | 1160 | XSTRING (o1)->size)) |
| 1161 | return 0; | 1161 | return 0; |
| 1162 | #ifdef USE_TEXT_PROPERTIES | ||
| 1163 | /* If the strings have intervals, verify they match; | ||
| 1164 | if not, they are unequal. */ | ||
| 1165 | if ((XSTRING (o1)->intervals != 0 || XSTRING (o2)->intervals != 0) | ||
| 1166 | && ! compare_string_intervals (o1, o2)) | ||
| 1167 | return 0; | ||
| 1168 | #endif | ||
| 1169 | return 1; | 1162 | return 1; |
| 1170 | } | 1163 | } |
| 1171 | return 0; | 1164 | return 0; |