diff options
| author | Lars Ingebrigtsen | 2021-11-24 20:04:25 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-11-24 20:10:17 +0100 |
| commit | 833a42fbcf78ec99b84a98dd6bc7c2eea6eeaef6 (patch) | |
| tree | 0a42abc41de46f2e383c44cfe20adcb83c23fcee | |
| parent | 388b4a12f58855f24eca8f00cd20659a9d2b81d6 (diff) | |
| download | emacs-833a42fbcf78ec99b84a98dd6bc7c2eea6eeaef6.tar.gz emacs-833a42fbcf78ec99b84a98dd6bc7c2eea6eeaef6.zip | |
Fix min-width problem with "overlapping" regions
* src/xdisp.c (handle_display_prop): Fix problem with overlapping
regions.
| -rw-r--r-- | src/xdisp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index a0efefa3a52..b7fd2249dc2 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -5352,7 +5352,8 @@ handle_display_prop (struct it *it) | |||
| 5352 | Qdisplay, object, &overlay); | 5352 | Qdisplay, object, &overlay); |
| 5353 | 5353 | ||
| 5354 | /* Handle min-width ends. */ | 5354 | /* Handle min-width ends. */ |
| 5355 | if (!NILP (it->min_width_property)) | 5355 | if (!NILP (it->min_width_property) |
| 5356 | && NILP (find_display_property (propval, Qmin_width))) | ||
| 5356 | display_min_width (it, bufpos, object, Qnil); | 5357 | display_min_width (it, bufpos, object, Qnil); |
| 5357 | 5358 | ||
| 5358 | if (NILP (propval)) | 5359 | if (NILP (propval)) |