diff options
| author | Kim F. Storm | 2006-09-06 10:24:45 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-09-06 10:24:45 +0000 |
| commit | 99cdf26ddf4408fe2ea177c9d1ec5c1641f59b7b (patch) | |
| tree | cfc336f5eb4d72278e99d912f994bab8e6c3af16 | |
| parent | 2010a78ce9b8b4c1b5fcef6923a062b0f1266c94 (diff) | |
| download | emacs-99cdf26ddf4408fe2ea177c9d1ec5c1641f59b7b.tar.gz emacs-99cdf26ddf4408fe2ea177c9d1ec5c1641f59b7b.zip | |
(Window Start): Update pos-visible-in-window-p.
| -rw-r--r-- | lispref/windows.texi | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/lispref/windows.texi b/lispref/windows.texi index a86dd6ec812..ce420958b13 100644 --- a/lispref/windows.texi +++ b/lispref/windows.texi | |||
| @@ -1362,13 +1362,16 @@ non-@code{nil} anyway. @xref{Horizontal Scrolling}. | |||
| 1362 | 1362 | ||
| 1363 | If @var{position} is visible, @code{pos-visible-in-window-p} returns | 1363 | If @var{position} is visible, @code{pos-visible-in-window-p} returns |
| 1364 | @code{t} if @var{partially} is @code{nil}; if @var{partially} is | 1364 | @code{t} if @var{partially} is @code{nil}; if @var{partially} is |
| 1365 | non-@code{nil}, it returns a list of the form @code{(@var{x} @var{y} | 1365 | non-@code{nil}, and the character after @var{position} is fully |
| 1366 | @var{partial})}, where @var{x} and @var{y} are the pixel coordinates | 1366 | visible, it returns a list of the form @code{(@var{x} @var{y})}, where |
| 1367 | relative to the top left corner of the window, and @var{partial} is | 1367 | @var{x} and @var{y} are the pixel coordinates relative to the top left |
| 1368 | @code{nil} if the character after @var{position} is fully visible; | 1368 | corner of the window; otherwise it returns an extended list of the |
| 1369 | otherwise it is a cons @code{(@var{rtop} . @var{rbot})} where the | 1369 | form @code{(@var{x} @var{y} @var{rtop} @var{rbot} @var{rowh} |
| 1370 | @var{rtop} and @var{rbot} specify the number of invisible pixels at | 1370 | @var{vpos})}, where the @var{rtop} and @var{rbot} specify the number |
| 1371 | the top and bottom of the row at @var{position}. | 1371 | of invisible pixels at the top and bottom of the row at |
| 1372 | @var{position}, @var{rowh} specifies the visible height of that row, | ||
| 1373 | and @var{vpos} specifies the vertical position (zero-based row number) | ||
| 1374 | of that row. | ||
| 1372 | 1375 | ||
| 1373 | Here is an example: | 1376 | Here is an example: |
| 1374 | 1377 | ||