From: Jim Blandy Date: Sun, 4 Jul 1993 01:53:24 +0000 (+0000) Subject: * frame.c (Fredirect_frame_focus): Allow redirection of focus of X-Git-Tag: emacs-19.34~11881 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1314409546d308c46c91d85b7e85c52c9dda6ef9;p=emacs.git * frame.c (Fredirect_frame_focus): Allow redirection of focus of dead frames. --- diff --git a/src/frame.c b/src/frame.c index 78e24ead006..e706283a0b2 100644 --- a/src/frame.c +++ b/src/frame.c @@ -980,7 +980,10 @@ The redirection lasts until `redirect-frame-focus' is called to change it.") (frame, focus_frame) Lisp_Object frame, focus_frame; { - CHECK_LIVE_FRAME (frame, 0); + /* Note that we don't check for a live frame here. It's reasonable + to redirect the focus of a frame you're about to delete, if you + know what other frame should receive those keystrokes. */ + CHECK_FRAME (frame, 0); if (! NILP (focus_frame)) CHECK_LIVE_FRAME (focus_frame, 1);