]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix min-width end condition handling
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 24 Nov 2021 11:44:45 +0000 (12:44 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 24 Nov 2021 11:44:55 +0000 (12:44 +0100)
* src/xdisp.c (handle_display_prop): Fix check for min-width ends
-- they may be consecutive.

src/xdisp.c

index 4d3b4878058c542bdaa9ca07ab5c1178bd28876a..e8de0634a168d57a2e5bb4f2ca49b38ef72e7612 100644 (file)
@@ -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))