From: Gerd Moellmann Date: Thu, 16 Sep 1999 12:52:16 +0000 (+0000) Subject: (Fdelete_frame): Correct local variable pointing to X-Git-Tag: emacs-pretest-21.0.90~6706 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=79a65b7fbef75e64c9b0ac911d44d258d6bc0f14;p=emacs.git (Fdelete_frame): Correct local variable pointing to selected frame after selecting new frame. --- diff --git a/src/frame.c b/src/frame.c index a9ddc8e40dc..ae7a15c426e 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1197,6 +1197,7 @@ but if the second optional argument FORCE is non-nil, you may do so.") } do_switch_frame (frame1, Qnil, 0); + sf = SELECTED_FRAME (); } /* Don't allow minibuf_window to remain on a deleted frame. */