diff options
| -rw-r--r-- | lispref/windows.texi | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lispref/windows.texi b/lispref/windows.texi index 407ea2f5852..f20929fbb89 100644 --- a/lispref/windows.texi +++ b/lispref/windows.texi | |||
| @@ -1202,12 +1202,14 @@ off screen at the next redisplay, then redisplay computes a new window-start | |||
| 1202 | position that works well with point, and thus @var{position} is not used. | 1202 | position that works well with point, and thus @var{position} is not used. |
| 1203 | @end defun | 1203 | @end defun |
| 1204 | 1204 | ||
| 1205 | @defun pos-visible-in-window-p &optional position window | 1205 | @defun pos-visible-in-window-p &optional position window fully |
| 1206 | This function returns @code{t} if @var{position} is within the range | 1206 | This function returns @code{t} if @var{position} is within the range of |
| 1207 | of text currently visible on the screen in @var{window}. It returns | 1207 | text currently visible on the screen in @var{window}. If @var{fully} is |
| 1208 | @code{nil} if @var{position} is scrolled vertically out of view. The | 1208 | non-@code{nil}, then locations that are partially obscured are not |
| 1209 | argument @var{position} defaults to the current position of point; | 1209 | considered visible. It returns @code{nil} if @var{position} is scrolled |
| 1210 | @var{window}, to the selected window. Here is an example: | 1210 | vertically out of view. The argument @var{position} defaults to the |
| 1211 | current position of point; @var{window}, to the selected window. Here | ||
| 1212 | is an example: | ||
| 1211 | 1213 | ||
| 1212 | @example | 1214 | @example |
| 1213 | @group | 1215 | @group |