diff options
| author | Richard M. Stallman | 1993-01-14 21:20:01 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-01-14 21:20:01 +0000 |
| commit | b0c33a9470ab534ba3394ffae4909d6e68ea7d35 (patch) | |
| tree | 8f67a0307b9b603ea0fb46d0cab7abeded3a70a8 /src/window.c | |
| parent | 65565c68813000777473c0792b5f8a2ee69597eb (diff) | |
| download | emacs-b0c33a9470ab534ba3394ffae4909d6e68ea7d35.tar.gz emacs-b0c33a9470ab534ba3394ffae4909d6e68ea7d35.zip | |
(Fwindow_at): Doc fix.
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/window.c b/src/window.c index ef77057da37..26c589b0152 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -427,12 +427,12 @@ window_from_coordinates (frame, x, y, part) | |||
| 427 | } | 427 | } |
| 428 | 428 | ||
| 429 | DEFUN ("window-at", Fwindow_at, Swindow_at, 2, 3, 0, | 429 | DEFUN ("window-at", Fwindow_at, Swindow_at, 2, 3, 0, |
| 430 | "Return window containing row ROW, column COLUMN on FRAME.\n\ | 430 | "Return window containing coordinates X and Y on FRAME.\n\ |
| 431 | If omitted, FRAME defaults to the currently selected frame.\n\ | 431 | If omitted, FRAME defaults to the currently selected frame.\n\ |
| 432 | The top left corner of the frame is considered to be row 0,\n\ | 432 | The top left corner of the frame is considered to be row 0,\n\ |
| 433 | column 0.") | 433 | column 0.") |
| 434 | (row, column, frame) | 434 | (x, y, frame) |
| 435 | Lisp_Object row, column, frame; | 435 | Lisp_Object x, y, frame; |
| 436 | { | 436 | { |
| 437 | int part; | 437 | int part; |
| 438 | 438 | ||
| @@ -442,11 +442,11 @@ column 0.") | |||
| 442 | else | 442 | else |
| 443 | CHECK_LIVE_FRAME (frame, 2); | 443 | CHECK_LIVE_FRAME (frame, 2); |
| 444 | #endif | 444 | #endif |
| 445 | CHECK_NUMBER (row, 0); | 445 | CHECK_NUMBER (x, 0); |
| 446 | CHECK_NUMBER (column, 1); | 446 | CHECK_NUMBER (y, 1); |
| 447 | 447 | ||
| 448 | return window_from_coordinates (XFRAME (frame), | 448 | return window_from_coordinates (XFRAME (frame), |
| 449 | XINT (row), XINT (column), | 449 | XINT (x), XINT (y), |
| 450 | &part); | 450 | &part); |
| 451 | } | 451 | } |
| 452 | 452 | ||