Mercurial > emacs
comparison src/window.c @ 708:030fb4635335
*** empty log message ***
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Wed, 10 Jun 1992 03:53:16 +0000 |
parents | 026f978690be |
children | 0a2391511b46 |
comparison
equal
deleted
inserted
replaced
707:e4253da532fb | 708:030fb4635335 |
---|---|
1 /* Window creation, deletion and examination for GNU Emacs. | 1 /* Window creation, deletion and examination for GNU Emacs. |
2 Does not include redisplay. | 2 Does not include redisplay. |
3 Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. | 3 Copyright (C) 1985, 1986, 1987, 1992 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GNU Emacs. | 5 This file is part of GNU Emacs. |
6 | 6 |
7 GNU Emacs is free software; you can redistribute it and/or modify | 7 GNU Emacs is free software; you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
9 the Free Software Foundation; either version 1, or (at your option) | 9 the Free Software Foundation; either version 2, or (at your option) |
10 any later version. | 10 any later version. |
11 | 11 |
12 GNU Emacs is distributed in the hope that it will be useful, | 12 GNU Emacs is distributed in the hope that it will be useful, |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
355 } | 355 } |
356 | 356 |
357 DEFUN ("coordinates-in-window-p", Fcoordinates_in_window_p, | 357 DEFUN ("coordinates-in-window-p", Fcoordinates_in_window_p, |
358 Scoordinates_in_window_p, 2, 2, 0, | 358 Scoordinates_in_window_p, 2, 2, 0, |
359 "Return non-nil if COORDINATES are in WINDOW.\n\ | 359 "Return non-nil if COORDINATES are in WINDOW.\n\ |
360 COORDINATES is a cons of the form (X . Y), X and Y being screen-relative.\n\ | 360 COORDINATES is a cons of the form (X . Y), X and Y being distances\n\ |
361 measured in characters from the upper-left corner of the screen.\n\ | |
362 (0 . 0) denotes the character in the upper left corner of the\n\ | |
363 screen.\n\ | |
361 If COORDINATES are in the text portion of WINDOW,\n\ | 364 If COORDINATES are in the text portion of WINDOW,\n\ |
362 the coordinates relative to the window are returned.\n\ | 365 the coordinates relative to the window are returned.\n\ |
363 If they are in the mode line of WINDOW, 'mode-line is returned.\n\ | 366 If they are in the mode line of WINDOW, 'mode-line is returned.\n\ |
364 If they are on the border between WINDOW and its right sibling,\n\ | 367 If they are on the border between WINDOW and its right sibling,\n\ |
365 'vertical-split is returned.") | 368 'vertical-split is returned.") |