From: Richard M. Stallman Date: Mon, 24 Apr 1995 04:26:04 +0000 (+0000) Subject: Update info on window-end. X-Git-Tag: emacs-19.34~4348 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6c7418db40adfbb24adc171598f6c2ddcff52cd7;p=emacs.git Update info on window-end. --- 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