aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-11-24 12:44:45 +0100
committerLars Ingebrigtsen2021-11-24 12:44:55 +0100
commitfdafaf5e416e3a38660aedfb02dc5efd0bbd8f17 (patch)
treede007a128bf95272ec21f5a8127b5b13eb127133
parentd30cdbbde40e0084c748c11e8f71a449021452c0 (diff)
downloademacs-fdafaf5e416e3a38660aedfb02dc5efd0bbd8f17.tar.gz
emacs-fdafaf5e416e3a38660aedfb02dc5efd0bbd8f17.zip
Fix min-width end condition handling
* src/xdisp.c (handle_display_prop): Fix check for min-width ends -- they may be consecutive.
-rw-r--r--src/xdisp.c3
1 files changed, 1 insertions, 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)
5340 Qdisplay, object, &overlay); 5340 Qdisplay, object, &overlay);
5341 5341
5342 /* Handle min-width ends. */ 5342 /* Handle min-width ends. */
5343 if (! NILP (it->min_width_property) 5343 if (!NILP (it->min_width_property))
5344 && NILP (find_display_property (propval, Qmin_width)))
5345 display_min_width (it, bufpos, object, Qnil); 5344 display_min_width (it, bufpos, object, Qnil);
5346 5345
5347 if (NILP (propval)) 5346 if (NILP (propval))