From: Eli Zaretskii Date: Fri, 1 Oct 2010 20:18:24 +0000 (+0200) Subject: Fix initial frame dimensions on MS-DOS. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~46^2~258 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0ebf79dee20548de437ddd1080f027e571d528f9;p=emacs.git Fix initial frame dimensions on MS-DOS. term.c (init_tty) [DOS_NT]: Don't call Wcm_clear after setting screen dimensions in tty->Wcm. --- diff --git a/src/ChangeLog b/src/ChangeLog index c7bdb0b2d84..e10a6a43dfd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2010-10-01 Eli Zaretskii + * term.c (init_tty) [DOS_NT]: Don't call Wcm_clear after setting + screen dimensions in tty->Wcm. + * xdisp.c (set_cursor_from_row): When the row is truncated and point is outside the range of displayed characters, position the cursor inside the scroll margin. (Bug#6349) diff --git a/src/term.c b/src/term.c index d67056d2918..4baea231de3 100644 --- a/src/term.c +++ b/src/term.c @@ -3657,9 +3657,6 @@ use the Bourne shell command `TERM=... export TERM' (C-shell:\n\ add_keyboard_wait_descriptor (0); - /* FIXME: this should be removed, done earlier. */ - Wcm_clear (tty); - tty->delete_in_insert_mode = 1; UseTabs (tty) = 0;