From: Ken Raeburn Date: Wed, 28 Feb 2001 17:41:06 +0000 (+0000) Subject: * window.c (set_window_buffer): Field vscroll is an int, not a lisp object. X-Git-Tag: emacs-pretest-21.0.99~78 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=224227d1db3d56b4d8d1971d6b706529b6cdac7e;p=emacs.git * window.c (set_window_buffer): Field vscroll is an int, not a lisp object. --- diff --git a/src/ChangeLog b/src/ChangeLog index 64a4baa7dad..465b1e2cd89 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-02-28 Ken Raeburn + + * window.c (set_window_buffer): Field vscroll is an int, not a + lisp object. + 2001-02-28 Gerd Moellmann * xterm.c (x_set_window_size): Don't use `None' with widgets; use diff --git a/src/window.c b/src/window.c index a7e981fea2c..71e490724b6 100644 --- a/src/window.c +++ b/src/window.c @@ -2631,7 +2631,7 @@ set_window_buffer (window, buffer, run_hooks_p) bzero (&w->last_cursor, sizeof w->last_cursor); w->window_end_valid = Qnil; w->hscroll = w->min_hscroll = make_number (0); - w->vscroll = make_number (0); + w->vscroll = 0; set_marker_both (w->pointm, buffer, BUF_PT (b), BUF_PT_BYTE (b)); set_marker_restricted (w->start, make_number (b->last_window_start),