From fdafaf5e416e3a38660aedfb02dc5efd0bbd8f17 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 24 Nov 2021 12:44:45 +0100 Subject: [PATCH] Fix min-width end condition handling * src/xdisp.c (handle_display_prop): Fix check for min-width ends -- they may be consecutive. --- src/xdisp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index 4d3b4878058..e8de0634a16 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -5340,8 +5340,7 @@ handle_display_prop (struct it *it) Qdisplay, object, &overlay); /* Handle min-width ends. */ - if (! NILP (it->min_width_property) - && NILP (find_display_property (propval, Qmin_width))) + if (!NILP (it->min_width_property)) display_min_width (it, bufpos, object, Qnil); if (NILP (propval)) -- 2.39.5