comparison src/window.c @ 58083:49b5dabf0ccc

Fix commentary.
author Kim F. Storm <storm@cua.dk>
date Tue, 09 Nov 2004 11:16:32 +0000
parents f85e0cc87926
children eeb5474ef89f cb7f41387eb3
comparison
equal deleted inserted replaced
58082:bcfa2be2012e 58083:49b5dabf0ccc
202 /* Hook to run when window config changes. */ 202 /* Hook to run when window config changes. */
203 203
204 Lisp_Object Qwindow_configuration_change_hook; 204 Lisp_Object Qwindow_configuration_change_hook;
205 Lisp_Object Vwindow_configuration_change_hook; 205 Lisp_Object Vwindow_configuration_change_hook;
206 206
207 /* Nonzero means scroll commands try to put point 207 /* Non-nil means scroll commands try to put point
208 at the same screen height as previously. */ 208 at the same screen height as previously. */
209 209
210 Lisp_Object Vscroll_preserve_screen_position; 210 Lisp_Object Vscroll_preserve_screen_position;
211 211
212 #if 0 /* This isn't used anywhere. */ 212 #if 0 /* This isn't used anywhere. */
4521 } 4521 }
4522 4522
4523 start = it.current.pos; 4523 start = it.current.pos;
4524 } 4524 }
4525 4525
4526 /* If scroll_preserve_screen_position is non-zero, we try to set 4526 /* If scroll_preserve_screen_position is non-nil, we try to set
4527 point in the same window line as it is now, so get that line. */ 4527 point in the same window line as it is now, so get that line. */
4528 if (!NILP (Vscroll_preserve_screen_position)) 4528 if (!NILP (Vscroll_preserve_screen_position))
4529 { 4529 {
4530 start_display (&it, w, start); 4530 start_display (&it, w, start);
4531 move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); 4531 move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS);