Fix min-width problem with "overlapping" regions

* src/xdisp.c (handle_display_prop): Fix problem with overlapping
regions.
This commit is contained in:
Lars Ingebrigtsen 2021-11-24 20:04:25 +01:00
parent 388b4a12f5
commit 833a42fbcf

View file

@ -5352,7 +5352,8 @@ handle_display_prop (struct it *it)
Qdisplay, object, &overlay);
/* Handle min-width ends. */
if (!NILP (it->min_width_property))
if (!NILP (it->min_width_property)
&& NILP (find_display_property (propval, Qmin_width)))
display_min_width (it, bufpos, object, Qnil);
if (NILP (propval))