comparison lispref/windows.texi @ 11510:e5d3814e783a

Update info on window-end.
author Richard M. Stallman <rms@gnu.org>
date Mon, 24 Apr 1995 04:26:04 +0000
parents 2231664084c2
children 73dc8205d259
comparison
equal deleted inserted replaced
11509:853f52a85d11 11510:e5d3814e783a
954 @defun window-end &optional window 954 @defun window-end &optional window
955 This function returns the position of the end of the display in window 955 This function returns the position of the end of the display in window
956 @var{window}. If @var{window} is @code{nil}, the selected window is 956 @var{window}. If @var{window} is @code{nil}, the selected window is
957 used. 957 used.
958 958
959 Simply changing the buffer text or moving point does not update the
960 value that @code{window-end} returns. The value is updated only when
961 Emacs redisplays and redisplay actually finishes.
962
959 If the last redisplay of @var{window} was preempted, and did not finish, 963 If the last redisplay of @var{window} was preempted, and did not finish,
960 Emacs does not know the position of the end of display in that window. 964 Emacs does not know the position of the end of display in that window.
961 In that case, this function returns a value that is not correct. In a 965 In that case, this function returns a value that is not correct. In a
962 future version, @code{window-end} will return @code{nil} in that case. 966 future version, @code{window-end} will return @code{nil} in that case.
963 @ignore 967 @ignore