mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-14 07:20:35 -08:00
(redisplay): Call adjust_window_charstarts
to update the charstarts of following lines.
This commit is contained in:
parent
28925d74e6
commit
46db848664
1 changed files with 8 additions and 0 deletions
|
|
@ -623,6 +623,14 @@ redisplay ()
|
|||
if (cursor_vpos >= 0 && this_line_bufpos
|
||||
&& this_line_endpos == tlendpos)
|
||||
{
|
||||
int left = XFASTINT (w->left);
|
||||
int *charstart_next_line
|
||||
= FRAME_CURRENT_GLYPHS (XFRAME (WINDOW_FRAME (w)))->charstarts[this_line_vpos + 1];
|
||||
int adjust = Z - tlendpos + 1 - charstart_next_line[left];
|
||||
int i;
|
||||
|
||||
adjust_window_charstarts (w, this_line_vpos, adjust);
|
||||
|
||||
if (XFASTINT (w->width) != FRAME_WIDTH (XFRAME (WINDOW_FRAME (w))))
|
||||
preserve_other_columns (w);
|
||||
goto update;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue