aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-04-22 14:12:30 +0000
committerGerd Moellmann2000-04-22 14:12:30 +0000
commit58827478fc30575ca922952938210984be0efea1 (patch)
tree53505ebcf58a726d31d1c84760f88ff6884f37b2 /src
parent39a5713ce1a9770a8beba6b5914aa2a7ea387d49 (diff)
downloademacs-58827478fc30575ca922952938210984be0efea1.tar.gz
emacs-58827478fc30575ca922952938210984be0efea1.zip
(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.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/dispnew.c6
2 files changed, 11 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6597ac66549..b04c003a479 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12000-04-22 Gerd Moellmann <gerd@gnu.org>
2
3 * dispnew.c (update_frame_line): When writing a whole line, make
4 sure cursor is in the right row afterwards, otherwise a use of
5 capability `ch' in cmgoto might leave the cursor in the row below.
6
12000-04-21 Gerd Moellmann <gerd@gnu.org> 72000-04-21 Gerd Moellmann <gerd@gnu.org>
2 8
3 * lisp.h (struct Lisp_Buffer_Cons): Remove. 9 * lisp.h (struct Lisp_Buffer_Cons): Remove.
diff --git a/src/dispnew.c b/src/dispnew.c
index 1936501d947..7bd57182b3c 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -4977,7 +4977,11 @@ update_frame_line (frame, vpos)
4977 cursor_to (vpos, nlen); 4977 cursor_to (vpos, nlen);
4978 clear_end_of_line (FRAME_WINDOW_WIDTH (frame)); 4978 clear_end_of_line (FRAME_WINDOW_WIDTH (frame));
4979 } 4979 }
4980 4980 else
4981 /* Make sure we are in the right row, otherwise cursor movement
4982 with cmgoto might use `ch' in the wrong row. */
4983 cursor_to (vpos, 0);
4984
4981 make_current (desired_matrix, current_matrix, vpos); 4985 make_current (desired_matrix, current_matrix, vpos);
4982 return; 4986 return;
4983 } 4987 }