(string_buffer_position): Use *single_char_property*

functions instead of the *single_property* functions.
This commit is contained in:
Gerd Moellmann 2001-09-05 07:43:47 +00:00
parent 8f8601801d
commit 134d928342

View file

@ -3227,7 +3227,7 @@ string_buffer_position (w, string, around_charpos)
if (!NILP (prop) && display_prop_string_p (prop, string))
found = 1;
else
pos = Fnext_single_property_change (pos, Qdisplay, Qnil, limit);
pos = Fnext_single_char_property_change (pos, Qdisplay, Qnil, limit);
}
if (!found)
@ -3240,8 +3240,8 @@ string_buffer_position (w, string, around_charpos)
if (!NILP (prop) && display_prop_string_p (prop, string))
found = 1;
else
pos = Fprevious_single_property_change (pos, Qdisplay, Qnil,
limit);
pos = Fprevious_single_char_property_change (pos, Qdisplay, Qnil,
limit);
}
}