Mercurial > emacs
changeset 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 | cf258211ea5b |
children | c2f4101915eb |
files | lispref/windows.texi |
diffstat | 1 files changed, 8 insertions(+), 2 deletions(-) [+] |
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