diff options
| author | Lars Ingebrigtsen | 2021-11-24 12:44:45 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-11-24 12:44:55 +0100 |
| commit | fdafaf5e416e3a38660aedfb02dc5efd0bbd8f17 (patch) | |
| tree | de007a128bf95272ec21f5a8127b5b13eb127133 | |
| parent | d30cdbbde40e0084c748c11e8f71a449021452c0 (diff) | |
| download | emacs-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.c | 3 |
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)) |