emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 833a42f 1/2: Fix min-width problem with "overlapping" regions


From: Lars Ingebrigtsen
Subject: master 833a42f 1/2: Fix min-width problem with "overlapping" regions
Date: Wed, 24 Nov 2021 14:10:24 -0500 (EST)

branch: master
commit 833a42fbcf78ec99b84a98dd6bc7c2eea6eeaef6
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix min-width problem with "overlapping" regions
    
    * src/xdisp.c (handle_display_prop): Fix problem with overlapping
    regions.
---
 src/xdisp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/xdisp.c b/src/xdisp.c
index a0efefa..b7fd224 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]