summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-07-18 22:10:51 +0000
committerRichard M. Stallman <rms@gnu.org>1995-07-18 22:10:51 +0000
commit237c28735e45bff8faf828ca1a700a5a6d7ffe2c (patch)
tree6967a18543a9107cd5f73c7133bae9e9589ea6bb /lispref
parent21416d04a456e0183da1a8a51caf497d562583b6 (diff)
downloademacs-237c28735e45bff8faf828ca1a700a5a6d7ffe2c.tar.gz
Explain how redisplay updates window-start.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/windows.texi10
1 files changed, 8 insertions, 2 deletions
diff --git a/lispref/windows.texi b/lispref/windows.texi
index 27925e9be8c..fe6db12f2b4 100644
--- a/lispref/windows.texi
+++ b/lispref/windows.texi
@@ -1003,8 +1003,14 @@ When you create a window, or display a different buffer in it, the
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