diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c index aae7a9f951e..0c08a662380 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -204,7 +204,7 @@ static int window_initialized; | |||
| 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; |
| @@ -4523,7 +4523,7 @@ window_scroll_pixel_based (window, n, whole, noerror) | |||
| 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 | { |