changeset 1769:c77a852fda5f

* frame.el (frame-notice-user-settings): Don't try to delete the initial frame if the user took care of that.
author Jim Blandy <jimb@redhat.com>
date Thu, 14 Jan 1993 14:48:57 +0000
parents b17b090655c3
children 29bcc2c88773
files lisp/frame.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/frame.el	Thu Jan 14 06:41:03 1993 +0000
+++ b/lisp/frame.el	Thu Jan 14 14:48:57 1993 +0000
@@ -1,6 +1,6 @@
 ;;; frame.el --- multi-frame management independent of window systems.
 
-;;;; Copyright (C) 1990, 1992 Free Software Foundation, Inc.
+;;;; Copyright (C) 1990, 1992, 1993 Free Software Foundation, Inc.
 
 ;; Maintainer: FSF
 ;; Keywords: internal
@@ -113,7 +113,7 @@
 ;;; need to see if it should go away or change.  Create a text frame
 ;;; here.
 (defun frame-notice-user-settings ()
-  (if frame-initial-frame
+  (if (live-frame-p frame-initial-frame)
       (progn
 	;; If the user wants a minibuffer-only frame, we'll have to
 	;; make a new one; you can't remove or add a root window to/from