From: Kim F. Storm Date: Tue, 9 Nov 2004 11:16:32 +0000 (+0000) Subject: Fix commentary. X-Git-Tag: ttn-vms-21-2-B4~4060 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d0c38d631d0e7a1979921c0c4efe2f31ff6d7c3b;p=emacs.git Fix commentary. --- 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; Lisp_Object Qwindow_configuration_change_hook; Lisp_Object Vwindow_configuration_change_hook; -/* Nonzero means scroll commands try to put point +/* Non-nil means scroll commands try to put point at the same screen height as previously. */ Lisp_Object Vscroll_preserve_screen_position; @@ -4523,7 +4523,7 @@ window_scroll_pixel_based (window, n, whole, noerror) start = it.current.pos; } - /* If scroll_preserve_screen_position is non-zero, we try to set + /* If scroll_preserve_screen_position is non-nil, we try to set point in the same window line as it is now, so get that line. */ if (!NILP (Vscroll_preserve_screen_position)) {