From 6c7418db40adfbb24adc171598f6c2ddcff52cd7 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 24 Apr 1995 04:26:04 +0000 Subject: [PATCH] Update info on window-end. --- lispref/windows.texi | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5