]> git.eshelyaron.com Git - emacs.git/commitdiff
(frame-notice-user-settings): Add a last parameter nil
authorGerd Moellmann <gerd@gnu.org>
Wed, 20 Sep 2000 16:04:38 +0000 (16:04 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 20 Sep 2000 16:04:38 +0000 (16:04 +0000)
to a call to `append', because the last list passed to `append' is
not copied, and so subsequent calls to assq-delete-all will modify
default-frame-alist.

lisp/frame.el

index e4770cc6be1d2a375020d9b0548c114e72b24e6e..263e80e2ff967de9370c716bb4613c47e438dee5 100644 (file)
@@ -360,7 +360,7 @@ React to settings of `default-frame-alist', `initial-frame-alist' there."
          ;; the new parameters.
          (let (newparms allparms tail)
            (setq allparms (append initial-frame-alist
-                                  default-frame-alist))
+                                  default-frame-alist nil))
            (if (assq 'height frame-initial-geometry-arguments)
                (setq allparms (assq-delete-all 'height allparms)))
            (if (assq 'width frame-initial-geometry-arguments)