mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-30 17:10:51 -08:00
(internal_equal): When comparing strings, ignore text props.
Friedman offers to fix anything that has trouble due to this.
This commit is contained in:
parent
83897674fc
commit
36febf9e9b
1 changed files with 0 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue