comparison lispref/windows.texi @ 8516:5d76d6decb35

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Thu, 11 Aug 1994 07:18:04 +0000
parents 320375e58ee3
children 2231664084c2
comparison
equal deleted inserted replaced
8515:3043fef029a7 8516:5d76d6decb35
950 This function returns the position of the end of the display in window 950 This function returns the position of the end of the display in window
951 @var{window}. If @var{window} is @code{nil}, the selected window is 951 @var{window}. If @var{window} is @code{nil}, the selected window is
952 used. 952 used.
953 953
954 If the last redisplay of @var{window} was preempted, and did not finish, 954 If the last redisplay of @var{window} was preempted, and did not finish,
955 Emacs does not know the position of the end of display in that window; 955 Emacs does not know the position of the end of display in that window.
956 In that case, this function returns a value that is not correct. In a
957 future version, @code{window-end} will return @code{nil} in that case.
958 @ignore
956 in that case, this function returns @code{nil}. You can compute where 959 in that case, this function returns @code{nil}. You can compute where
957 the end of the window @emph{would} have been, if redisplay had finished, 960 the end of the window @emph{would} have been, if redisplay had finished,
958 like this: 961 like this:
959 962
960 @example 963 @example
962 (goto-char (window-start window)) 965 (goto-char (window-start window))
963 (vertical-motion (1- (window-height window)) 966 (vertical-motion (1- (window-height window))
964 window) 967 window)
965 (point)) 968 (point))
966 @end example 969 @end example
970 @end ignore
967 @end defun 971 @end defun
968 972
969 @defun set-window-start window position &optional noforce 973 @defun set-window-start window position &optional noforce
970 This function sets the display-start position of @var{window} to 974 This function sets the display-start position of @var{window} to
971 @var{position} in @var{window}'s buffer. It returns @var{position}. 975 @var{position} in @var{window}'s buffer. It returns @var{position}.