else if (STRINGP (parent))
{
new->total_length = SCHARS (parent);
- STRING_INTERVALS (parent) = new;
+ STRING_SET_INTERVALS (parent, new);
new->position = 0;
}
if (BUFFERP (parent))
BUF_INTERVALS (XBUFFER (parent)) = interval;
else if (STRINGP (parent))
- STRING_INTERVALS (parent) = interval;
+ STRING_SET_INTERVALS (parent, interval);
}
return interval;
if (BUFFERP (owner))
BUF_INTERVALS (XBUFFER (owner)) = parent;
else if (STRINGP (owner))
- STRING_INTERVALS (owner) = parent;
+ STRING_SET_INTERVALS (owner, parent);
else
abort ();
return;
SET_INTERVAL_OBJECT (interval_copy, string);
- STRING_INTERVALS (string) = interval_copy;
+ STRING_SET_INTERVALS (string, interval_copy);
}
\f
/* Return 1 if strings S1 and S2 have identical properties; 0 otherwise.