From 134d928342e69cebb6682a199629efaca0c6c821 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 5 Sep 2001 07:43:47 +0000 Subject: [PATCH] (string_buffer_position): Use *single_char_property* functions instead of the *single_property* functions. --- src/xdisp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index 4e4f54f1d3d..a683d8b0968 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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); } } -- 2.39.2