Fix 'min-width' display property in 'buffer-text-pixel-size'
* src/xdisp.c (display_min_width): Don't return without doing anything when called from the move_it_* functions. This is needed to have functions that simulate display layout handle the min-width display property correctly. (Bug#68374)
This commit is contained in:
parent
30b4d90232
commit
67486ab415
1 changed files with 0 additions and 3 deletions
|
@ -5612,9 +5612,6 @@ display_min_width (struct it *it, ptrdiff_t bufpos,
|
|||
if (!NILP (it->min_width_property)
|
||||
&& !EQ (width_spec, it->min_width_property))
|
||||
{
|
||||
if (!it->glyph_row)
|
||||
return;
|
||||
|
||||
/* When called from display_string (i.e., the mode line),
|
||||
we're being called with a string as the object, and we
|
||||
may be called with many sub-strings belonging to the same
|
||||
|
|
Loading…
Add table
Reference in a new issue