(Fdelete_frame): Correct local variable pointing to
authorGerd Moellmann <gerd@gnu.org>
Thu, 16 Sep 1999 12:52:16 +0000 (12:52 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 16 Sep 1999 12:52:16 +0000 (12:52 +0000)
selected frame after selecting new frame.

src/frame.c

index a9ddc8e..ae7a15c 100644 (file)
@@ -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.  */