Mercurial > emacs
comparison src/window.c @ 90044:cb7f41387eb3
Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-70
Merge from emacs--cvs-trunk--0
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-669
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-678
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-679
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-680
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-688
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-689
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-690
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-691
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-69
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-70
- miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-71
Update from CVS
author | Miles Bader <miles@gnu.org> |
---|---|
date | Fri, 12 Nov 2004 02:53:04 +0000 |
parents | e24e2e78deda 49b5dabf0ccc |
children | b637c617432f |
comparison
equal
deleted
inserted
replaced
90043:e24e2e78deda | 90044:cb7f41387eb3 |
---|---|
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); |