diff options
Diffstat (limited to 'src/frame.c')
| -rw-r--r-- | src/frame.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/frame.c b/src/frame.c index 5fa54052cd2..0b59b43a445 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -1157,10 +1157,13 @@ delete_frame (Lisp_Object frame, Lisp_Object force) | |||
| 1157 | 1157 | ||
| 1158 | FOR_EACH_FRAME (frames, this) | 1158 | FOR_EACH_FRAME (frames, this) |
| 1159 | { | 1159 | { |
| 1160 | Lisp_Object fminiw; | ||
| 1161 | struct frame *this_f; | ||
| 1162 | |||
| 1160 | if (! EQ (this, frame) | 1163 | if (! EQ (this, frame) |
| 1161 | && EQ (frame, | 1164 | && (this_f = XFRAME (this)) |
| 1162 | WINDOW_FRAME (XWINDOW | 1165 | && WINDOWP (fminiw = FRAME_MINIBUF_WINDOW (this_f)) |
| 1163 | (FRAME_MINIBUF_WINDOW (XFRAME (this)))))) | 1166 | && EQ (frame, WINDOW_FRAME (XWINDOW (fminiw)))) |
| 1164 | { | 1167 | { |
| 1165 | /* If we MUST delete this frame, delete the other first. | 1168 | /* If we MUST delete this frame, delete the other first. |
| 1166 | But do this only if FORCE equals `noelisp'. */ | 1169 | But do this only if FORCE equals `noelisp'. */ |