mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-07 04:10:27 -08:00
(increment_row_positions): Skip non-enabled rows.
This commit is contained in:
parent
ab89a403fa
commit
5cacdcfdc7
1 changed files with 3 additions and 0 deletions
|
|
@ -1185,6 +1185,9 @@ increment_row_positions (row, delta, delta_bytes)
|
|||
MATRIX_ROW_END_CHARPOS (row) += delta;
|
||||
MATRIX_ROW_END_BYTEPOS (row) += delta_bytes;
|
||||
|
||||
if (!row->enabled_p)
|
||||
return;
|
||||
|
||||
/* Increment positions in glyphs. */
|
||||
for (area = 0; area < LAST_AREA; ++area)
|
||||
for (i = 0; i < row->used[area]; ++i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue