Mercurial > emacs
comparison src/xdisp.c @ 77475:6423e582c81d EMACS_22_BRANCHPOINT
(redisplay_window): Use BEG_UNCHANGED and END_UNCHANGED values of the
actual window.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Tue, 24 Apr 2007 01:32:41 +0000 |
parents | 542c85728198 |
children | a76ca64a56e8 e6fdae9180d4 |
comparison
equal
deleted
inserted
replaced
77474:80299860c7c7 | 77475:6423e582c81d |
---|---|
12775 int temp_scroll_step = 0; | 12775 int temp_scroll_step = 0; |
12776 int count = SPECPDL_INDEX (); | 12776 int count = SPECPDL_INDEX (); |
12777 int rc; | 12777 int rc; |
12778 int centering_position = -1; | 12778 int centering_position = -1; |
12779 int last_line_misfit = 0; | 12779 int last_line_misfit = 0; |
12780 int save_beg_unchanged = BEG_UNCHANGED; | 12780 int save_beg_unchanged, save_end_unchanged; |
12781 int save_end_unchanged = END_UNCHANGED; | |
12782 | 12781 |
12783 SET_TEXT_POS (lpoint, PT, PT_BYTE); | 12782 SET_TEXT_POS (lpoint, PT, PT_BYTE); |
12784 opoint = lpoint; | 12783 opoint = lpoint; |
12785 | 12784 |
12786 /* W must be a leaf window here. */ | 12785 /* W must be a leaf window here. */ |
12840 value. */ | 12839 value. */ |
12841 /* Really select the buffer, for the sake of buffer-local | 12840 /* Really select the buffer, for the sake of buffer-local |
12842 variables. */ | 12841 variables. */ |
12843 set_buffer_internal_1 (XBUFFER (w->buffer)); | 12842 set_buffer_internal_1 (XBUFFER (w->buffer)); |
12844 SET_TEXT_POS (opoint, PT, PT_BYTE); | 12843 SET_TEXT_POS (opoint, PT, PT_BYTE); |
12844 | |
12845 save_beg_unchanged = BEG_UNCHANGED; | |
12846 save_end_unchanged = END_UNCHANGED; | |
12845 | 12847 |
12846 current_matrix_up_to_date_p | 12848 current_matrix_up_to_date_p |
12847 = (!NILP (w->window_end_valid) | 12849 = (!NILP (w->window_end_valid) |
12848 && !current_buffer->clip_changed | 12850 && !current_buffer->clip_changed |
12849 && !current_buffer->prevent_redisplay_optimizations_p | 12851 && !current_buffer->prevent_redisplay_optimizations_p |