mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
(update_frame_line): When writing a whole line, make
sure cursor is in the right row afterwards, otherwise a use of capability `ch' in cmgoto might leave the cursor in the row below.
This commit is contained in:
parent
39a5713ce1
commit
58827478fc
@ -1,3 +1,9 @@
|
||||
2000-04-22 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* dispnew.c (update_frame_line): When writing a whole line, make
|
||||
sure cursor is in the right row afterwards, otherwise a use of
|
||||
capability `ch' in cmgoto might leave the cursor in the row below.
|
||||
|
||||
2000-04-21 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* lisp.h (struct Lisp_Buffer_Cons): Remove.
|
||||
|
@ -4977,7 +4977,11 @@ update_frame_line (frame, vpos)
|
||||
cursor_to (vpos, nlen);
|
||||
clear_end_of_line (FRAME_WINDOW_WIDTH (frame));
|
||||
}
|
||||
|
||||
else
|
||||
/* Make sure we are in the right row, otherwise cursor movement
|
||||
with cmgoto might use `ch' in the wrong row. */
|
||||
cursor_to (vpos, 0);
|
||||
|
||||
make_current (desired_matrix, current_matrix, vpos);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user