]> git.eshelyaron.com Git - emacs.git/commitdiff
(frame-notice-user-settings): When making a minibufferless
authorRichard M. Stallman <rms@gnu.org>
Wed, 14 Jun 1995 16:16:04 +0000 (16:16 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 14 Jun 1995 16:16:04 +0000 (16:16 +0000)
frame, don't copy `name' parm explicitly unless it was explicit before.

lisp/frame.el

index e1fb765a13b4cac63478dc1d09f59bf8d6bed625..1fba93e184fcf1bdcc1f5ccc869778273c425240 100644 (file)
@@ -246,9 +246,13 @@ These supersede the values given in `default-frame-alist'.")
              (while (not (cdr (assq 'visibility
                                     (frame-parameters frame-initial-frame))))
                (sleep-for 1))
+             (setq parms (frame-parameters frame-initial-frame))
+             ;; Get rid of `name' unless it was specified explicitly before.
+             (or (assq 'name frame-initial-frame-alist)
+                 (setq parms (delq (assq 'name parms) parms)))
              (setq parms (append initial-frame-alist
                                  default-frame-alist
-                                 (frame-parameters frame-initial-frame)
+                                 parms
                                  nil))
              ;; Get rid of `reverse', because that was handled
              ;; when we first made the frame.