changeset 1437:36ef55ecb265

* 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.
author Jim Blandy <jimb@redhat.com>
date Mon, 19 Oct 1992 18:33:14 +0000
parents e7c5faab6571
children 57f20a185901
files src/frame.c src/sunfns.c src/xmenu.c
diffstat 3 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Mon Oct 19 18:31:34 1992 +0000
+++ b/src/frame.c	Mon Oct 19 18:33:14 1992 +0000
@@ -248,7 +248,7 @@
     }
   else
     {
-      CHECK_WINDOW (mini_window, 0);
+      CHECK_LIVE_WINDOW (mini_window, 0);
     }
 
   /* Make a frame containing just a root window.  */
@@ -375,7 +375,7 @@
   (window)
      Lisp_Object window;
 {
-  CHECK_WINDOW (window, 0);
+  CHECK_LIVE_WINDOW (window, 0);
   return XWINDOW (window)->frame;
 }
 
--- a/src/sunfns.c	Mon Oct 19 18:31:34 1992 +0000
+++ b/src/sunfns.c	Mon Oct 19 18:33:14 1992 +0000
@@ -436,7 +436,7 @@
   
   CHECK_NUMBER(X_Position, 0);
   CHECK_NUMBER(Y_Position, 1);
-  CHECK_WINDOW(window, 2);
+  CHECK_LIVE_WINDOW(window, 2);
   CHECK_NUMBER(Button, 3);
   CHECK_VECTOR(MEnu, 4);
 
--- a/src/xmenu.c	Mon Oct 19 18:31:34 1992 +0000
+++ b/src/xmenu.c	Mon Oct 19 18:33:14 1992 +0000
@@ -1,11 +1,11 @@
 /* X Communication module for terminals which understand the X protocol.
-   Copyright (C) 1986, 1988 Free Software Foundation, Inc.
+   Copyright (C) 1986, 1988, 1992 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
 GNU Emacs is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 1, or (at your option)
+the Free Software Foundation; either version 2, or (at your option)
 any later version.
 
 GNU Emacs is distributed in the hope that it will be useful,
@@ -137,7 +137,7 @@
       x = Fcar (tem);
       y = Fcdr (tem);
     }
-  CHECK_WINDOW (window, 0);
+  CHECK_LIVE_WINDOW (window, 0);
   CHECK_NUMBER (x, 0);
   CHECK_NUMBER (y, 0);