diff options
| author | Jim Blandy | 1992-10-19 18:33:14 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-10-19 18:33:14 +0000 |
| commit | 774910ebd754979b3e09ea339064733e4372370f (patch) | |
| tree | 7da59f8ac33098e6d32525036cf2174a5dc44346 /src | |
| parent | 11edeb0334ccce2d985c0624404565038fa2cbf4 (diff) | |
| download | emacs-774910ebd754979b3e09ea339064733e4372370f.tar.gz emacs-774910ebd754979b3e09ea339064733e4372370f.zip | |
* frame.c (make_frame_without_minibuffer, Fwindow_frame): Use
CHECK_LIVE_WINDOW instead of CHECK_WINDOW.
* sunfns.c (Fsun_menu_internal): Same.
* xmenu.c (Fx_popup_menu): Same.
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 4 | ||||
| -rw-r--r-- | src/sunfns.c | 2 | ||||
| -rw-r--r-- | src/xmenu.c | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/frame.c b/src/frame.c index ce1c45779d0..7951fc3a320 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -248,7 +248,7 @@ make_frame_without_minibuffer (mini_window) | |||
| 248 | } | 248 | } |
| 249 | else | 249 | else |
| 250 | { | 250 | { |
| 251 | CHECK_WINDOW (mini_window, 0); | 251 | CHECK_LIVE_WINDOW (mini_window, 0); |
| 252 | } | 252 | } |
| 253 | 253 | ||
| 254 | /* Make a frame containing just a root window. */ | 254 | /* Make a frame containing just a root window. */ |
| @@ -375,7 +375,7 @@ DEFUN ("window-frame", Fwindow_frame, Swindow_frame, 1, 1, 0, | |||
| 375 | (window) | 375 | (window) |
| 376 | Lisp_Object window; | 376 | Lisp_Object window; |
| 377 | { | 377 | { |
| 378 | CHECK_WINDOW (window, 0); | 378 | CHECK_LIVE_WINDOW (window, 0); |
| 379 | return XWINDOW (window)->frame; | 379 | return XWINDOW (window)->frame; |
| 380 | } | 380 | } |
| 381 | 381 | ||
diff --git a/src/sunfns.c b/src/sunfns.c index d870c7e4090..5fcf6f6cf0b 100644 --- a/src/sunfns.c +++ b/src/sunfns.c | |||
| @@ -436,7 +436,7 @@ as a menu label.") | |||
| 436 | 436 | ||
| 437 | CHECK_NUMBER(X_Position, 0); | 437 | CHECK_NUMBER(X_Position, 0); |
| 438 | CHECK_NUMBER(Y_Position, 1); | 438 | CHECK_NUMBER(Y_Position, 1); |
| 439 | CHECK_WINDOW(window, 2); | 439 | CHECK_LIVE_WINDOW(window, 2); |
| 440 | CHECK_NUMBER(Button, 3); | 440 | CHECK_NUMBER(Button, 3); |
| 441 | CHECK_VECTOR(MEnu, 4); | 441 | CHECK_VECTOR(MEnu, 4); |
| 442 | 442 | ||
diff --git a/src/xmenu.c b/src/xmenu.c index 14f45cb18b9..025b61e4084 100644 --- a/src/xmenu.c +++ b/src/xmenu.c | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | /* X Communication module for terminals which understand the X protocol. | 1 | /* X Communication module for terminals which understand the X protocol. |
| 2 | Copyright (C) 1986, 1988 Free Software Foundation, Inc. | 2 | Copyright (C) 1986, 1988, 1992 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| 6 | GNU Emacs is free software; you can redistribute it and/or modify | 6 | GNU Emacs is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
| 8 | the Free Software Foundation; either version 1, or (at your option) | 8 | the Free Software Foundation; either version 2, or (at your option) |
| 9 | any later version. | 9 | any later version. |
| 10 | 10 | ||
| 11 | GNU Emacs is distributed in the hope that it will be useful, | 11 | GNU Emacs is distributed in the hope that it will be useful, |
| @@ -137,7 +137,7 @@ be the return value for that line (i.e. if it is selected.") | |||
| 137 | x = Fcar (tem); | 137 | x = Fcar (tem); |
| 138 | y = Fcdr (tem); | 138 | y = Fcdr (tem); |
| 139 | } | 139 | } |
| 140 | CHECK_WINDOW (window, 0); | 140 | CHECK_LIVE_WINDOW (window, 0); |
| 141 | CHECK_NUMBER (x, 0); | 141 | CHECK_NUMBER (x, 0); |
| 142 | CHECK_NUMBER (y, 0); | 142 | CHECK_NUMBER (y, 0); |
| 143 | 143 | ||