Mercurial > emacs
comparison src/window.c @ 36444:f2fc8b180aaa
* window.c (set_window_buffer): Field vscroll is an int, not a lisp object.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Wed, 28 Feb 2001 17:41:06 +0000 |
parents | 28af746067b2 |
children | bd660efb3fe7 |
comparison
equal
deleted
inserted
replaced
36443:c29a8191f68c | 36444:f2fc8b180aaa |
---|---|
2629 XSETFASTINT (w->window_end_pos, 0); | 2629 XSETFASTINT (w->window_end_pos, 0); |
2630 XSETFASTINT (w->window_end_vpos, 0); | 2630 XSETFASTINT (w->window_end_vpos, 0); |
2631 bzero (&w->last_cursor, sizeof w->last_cursor); | 2631 bzero (&w->last_cursor, sizeof w->last_cursor); |
2632 w->window_end_valid = Qnil; | 2632 w->window_end_valid = Qnil; |
2633 w->hscroll = w->min_hscroll = make_number (0); | 2633 w->hscroll = w->min_hscroll = make_number (0); |
2634 w->vscroll = make_number (0); | 2634 w->vscroll = 0; |
2635 set_marker_both (w->pointm, buffer, BUF_PT (b), BUF_PT_BYTE (b)); | 2635 set_marker_both (w->pointm, buffer, BUF_PT (b), BUF_PT_BYTE (b)); |
2636 set_marker_restricted (w->start, | 2636 set_marker_restricted (w->start, |
2637 make_number (b->last_window_start), | 2637 make_number (b->last_window_start), |
2638 buffer); | 2638 buffer); |
2639 w->start_at_line_beg = Qnil; | 2639 w->start_at_line_beg = Qnil; |