diff options
| author | Jim Blandy | 1993-07-31 00:21:33 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-07-31 00:21:33 +0000 |
| commit | 0cffbbb992ecafeb5fce4886bb4e15004c294e90 (patch) | |
| tree | 8f84224acdc37d8403febea75c2d52799a3701a8 | |
| parent | 7b3de0eaf95386b61b252bf7a15533df90cc258f (diff) | |
| download | emacs-0cffbbb992ecafeb5fce4886bb4e15004c294e90.tar.gz emacs-0cffbbb992ecafeb5fce4886bb4e15004c294e90.zip | |
* frame.el (frame-notice-user-settings): If we had to create a new
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.
| -rw-r--r-- | lisp/frame.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/frame.el b/lisp/frame.el index ac92bdbebc1..743758d1095 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -229,7 +229,7 @@ These supersede the values given in `default-frame-alist'.") | |||
| 229 | (redirect-frame-focus frame-initial-frame new) | 229 | (redirect-frame-focus frame-initial-frame new) |
| 230 | 230 | ||
| 231 | ;; Finally, get rid of the old frame. | 231 | ;; Finally, get rid of the old frame. |
| 232 | (delete-frame frame-initial-frame)) | 232 | (delete-frame frame-initial-frame t)) |
| 233 | 233 | ||
| 234 | ;; Otherwise, we don't need all that rigamarole; just apply | 234 | ;; Otherwise, we don't need all that rigamarole; just apply |
| 235 | ;; the new parameters. | 235 | ;; the new parameters. |