# HG changeset patch # User Richard M. Stallman # Date 739904794 0 # Node ID b9f27ed0228cceb03fda331cb38ee8e79e779a80 # Parent 54381151027d491f3647213890cc7f0b504cf9bf (Fdelete_window): Make `frame' a FRAME_PTR and use as such. diff -r 54381151027d -r b9f27ed0228c src/window.c --- a/src/window.c Sat Jun 12 17:04:51 1993 +0000 +++ b/src/window.c Sat Jun 12 17:06:34 1993 +0000 @@ -700,9 +700,9 @@ /* Are we trying to delete any frame's selected window? */ { - Lisp_Object frame = WINDOW_FRAME (XWINDOW (window)); - - if (EQ (window, FRAME_SELECTED_WINDOW (XFRAME (frame)))) + FRAME_PTR frame = WINDOW_FRAME (XWINDOW (window)); + + if (EQ (window, FRAME_SELECTED_WINDOW (frame))) { Lisp_Object alternative = Fnext_window (window, Qlambda, Qnil); @@ -714,7 +714,7 @@ if (EQ (window, selected_window)) Fselect_window (alternative); else - FRAME_SELECTED_WINDOW (XFRAME (frame)) = alternative; + FRAME_SELECTED_WINDOW (frame) = alternative; } }