summaryrefslogtreecommitdiff
path: root/lisp/frame.el
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-01-14 14:48:57 +0000
committerJim Blandy <jimb@redhat.com>1993-01-14 14:48:57 +0000
commitfaa3b11db68fc9894d8b69b4408b9543fc4b6ca3 (patch)
tree47561abb6f45d66ffcae856bc6edac8788b52177 /lisp/frame.el
parent396890d1bd48dc66aef314e6e9006d3de23073d5 (diff)
downloademacs-faa3b11db68fc9894d8b69b4408b9543fc4b6ca3.tar.gz
* frame.el (frame-notice-user-settings): Don't try to delete the
initial frame if the user took care of that.
Diffstat (limited to 'lisp/frame.el')
-rw-r--r--lisp/frame.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/frame.el b/lisp/frame.el
index d679f136ead..59f87e3f858 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -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 @@ These supercede the values given in default-frame-alist.")
;;; 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