summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
Diffstat (limited to 'lispref')
-rw-r--r--lispref/windows.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/lispref/windows.texi b/lispref/windows.texi
index 1192fa98e84..708862ab18b 100644
--- a/lispref/windows.texi
+++ b/lispref/windows.texi
@@ -956,6 +956,10 @@ This function returns the position of the end of the display in window
@var{window}. If @var{window} is @code{nil}, the selected window is
used.
+Simply changing the buffer text or moving point does not update the
+value that @code{window-end} returns. The value is updated only when
+Emacs redisplays and redisplay actually finishes.
+
If the last redisplay of @var{window} was preempted, and did not finish,
Emacs does not know the position of the end of display in that window.
In that case, this function returns a value that is not correct. In a