aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c6
1 files 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)
3227 if (!NILP (prop) && display_prop_string_p (prop, string)) 3227 if (!NILP (prop) && display_prop_string_p (prop, string))
3228 found = 1; 3228 found = 1;
3229 else 3229 else
3230 pos = Fnext_single_property_change (pos, Qdisplay, Qnil, limit); 3230 pos = Fnext_single_char_property_change (pos, Qdisplay, Qnil, limit);
3231 } 3231 }
3232 3232
3233 if (!found) 3233 if (!found)
@@ -3240,8 +3240,8 @@ string_buffer_position (w, string, around_charpos)
3240 if (!NILP (prop) && display_prop_string_p (prop, string)) 3240 if (!NILP (prop) && display_prop_string_p (prop, string))
3241 found = 1; 3241 found = 1;
3242 else 3242 else
3243 pos = Fprevious_single_property_change (pos, Qdisplay, Qnil, 3243 pos = Fprevious_single_char_property_change (pos, Qdisplay, Qnil,
3244 limit); 3244 limit);
3245 } 3245 }
3246 } 3246 }
3247 3247