]> git.eshelyaron.com Git - emacs.git/commitdiff
* frame.el (frame-notice-user-settings): If we had to create a new
authorJim Blandy <jimb@redhat.com>
Sat, 31 Jul 1993 00:21:33 +0000 (00:21 +0000)
committerJim Blandy <jimb@redhat.com>
Sat, 31 Jul 1993 00:21:33 +0000 (00:21 +0000)
frame in order to obey initial-frame-alist, use delete-frame's
FORCE argument to get rid of the old frame even if the new one
hasn't been mapped yet.

lisp/frame.el

index ac92bdbebc19379d4cc383ee75033cf9fcaed9ad..743758d109565e05bb702ab8beb4bcf046e9dfa0 100644 (file)
@@ -229,7 +229,7 @@ These supersede the values given in `default-frame-alist'.")
              (redirect-frame-focus frame-initial-frame new)
 
              ;; Finally, get rid of the old frame.
-             (delete-frame frame-initial-frame))
+             (delete-frame frame-initial-frame t))
 
          ;; Otherwise, we don't need all that rigamarole; just apply
          ;; the new parameters.