aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dispextern.h4
-rw-r--r--src/xdisp.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index 7a942ec79dc..1614a044cbf 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -2422,7 +2422,9 @@ struct it
2422 bool_bf string_from_display_prop_p : 1; 2422 bool_bf string_from_display_prop_p : 1;
2423 2423
2424 /* True means `string' comes from a `line-prefix' or `wrap-prefix' 2424 /* True means `string' comes from a `line-prefix' or `wrap-prefix'
2425 property. */ 2425 property, and that these properties were already handled, even if
2426 their value is not a string. This is used to avoid processing
2427 the same line/wrap prefix more than once for the same glyph row. */
2426 bool_bf string_from_prefix_prop_p : 1; 2428 bool_bf string_from_prefix_prop_p : 1;
2427 2429
2428 /* True means we are iterating an object that came from a value of a 2430 /* True means we are iterating an object that came from a value of a
diff --git a/src/xdisp.c b/src/xdisp.c
index 72a217513ef..85802ec5083 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -24415,6 +24415,7 @@ push_prefix_prop (struct it *it, Lisp_Object prop)
24415 { 24415 {
24416 it->method = GET_FROM_STRETCH; 24416 it->method = GET_FROM_STRETCH;
24417 it->object = prop; 24417 it->object = prop;
24418 it->string_from_prefix_prop_p = true;
24418 } 24419 }
24419#ifdef HAVE_WINDOW_SYSTEM 24420#ifdef HAVE_WINDOW_SYSTEM
24420 else if (IMAGEP (prop)) 24421 else if (IMAGEP (prop))
@@ -24422,6 +24423,7 @@ push_prefix_prop (struct it *it, Lisp_Object prop)
24422 it->what = IT_IMAGE; 24423 it->what = IT_IMAGE;
24423 it->image_id = lookup_image (it->f, prop, it->face_id); 24424 it->image_id = lookup_image (it->f, prop, it->face_id);
24424 it->method = GET_FROM_IMAGE; 24425 it->method = GET_FROM_IMAGE;
24426 it->string_from_prefix_prop_p = true;
24425 } 24427 }
24426#endif /* HAVE_WINDOW_SYSTEM */ 24428#endif /* HAVE_WINDOW_SYSTEM */
24427 else 24429 else