Mercurial > emacs
diff lispref/windows.texi @ 12596:ffe0de415152
Explain how redisplay updates window-start.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 18 Jul 1995 22:10:51 +0000 |
parents | 586e3ea81792 |
children | 4d6b7909a0ec |
line wrap: on
line diff
--- 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