# HG changeset patch # User Richard M. Stallman # Date 806105451 0 # Node ID ffe0de4151526b480e99599c8f5949670e049e72 # Parent cf258211ea5bc44efab6aa8edda13b5ea533716c Explain how redisplay updates window-start. diff -r cf258211ea5b -r ffe0de415152 lispref/windows.texi --- a/lispref/windows.texi Tue Jul 18 21:43:16 1995 +0000 +++ b/lispref/windows.texi Tue Jul 18 22:10:51 1995 +0000 @@ -1003,8 +1003,14 @@ display-start position is set to a display-start position recently used for the same buffer, or 1 if the buffer doesn't have any. -For a realistic example, see the description of @code{count-lines} in -@ref{Text Lines}. +Redisplay updates the window-start position (if you have not specified +it explicitly since the previous redisplay) so that point appears on the +screen. Nothing except redisplay automatically changes the window-start +position; if you move point, do not expect the window-start position to +change in response until after the next redisplay. + +For a realistic example of using @code{window-start}, see the +description of @code{count-lines} in @ref{Text Lines}. @end defun @defun window-end &optional window