diff options
| author | Jim Blandy | 1993-07-04 01:53:24 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-07-04 01:53:24 +0000 |
| commit | 1314409546d308c46c91d85b7e85c52c9dda6ef9 (patch) | |
| tree | 32af737fd35386c1eede7b7d13dc90ae58e755cf /src | |
| parent | eacaa9905ac00841083d791995a50633ce713688 (diff) | |
| download | emacs-1314409546d308c46c91d85b7e85c52c9dda6ef9.tar.gz emacs-1314409546d308c46c91d85b7e85c52c9dda6ef9.zip | |
* frame.c (Fredirect_frame_focus): Allow redirection of focus of
dead frames.
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 5 |
1 files changed, 4 insertions, 1 deletions
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.") | |||
| 980 | (frame, focus_frame) | 980 | (frame, focus_frame) |
| 981 | Lisp_Object frame, focus_frame; | 981 | Lisp_Object frame, focus_frame; |
| 982 | { | 982 | { |
| 983 | CHECK_LIVE_FRAME (frame, 0); | 983 | /* Note that we don't check for a live frame here. It's reasonable |
| 984 | to redirect the focus of a frame you're about to delete, if you | ||
| 985 | know what other frame should receive those keystrokes. */ | ||
| 986 | CHECK_FRAME (frame, 0); | ||
| 984 | 987 | ||
| 985 | if (! NILP (focus_frame)) | 988 | if (! NILP (focus_frame)) |
| 986 | CHECK_LIVE_FRAME (focus_frame, 1); | 989 | CHECK_LIVE_FRAME (focus_frame, 1); |