From: Gerd Moellmann Date: Wed, 20 Sep 2000 16:04:38 +0000 (+0000) Subject: (frame-notice-user-settings): Add a last parameter nil X-Git-Tag: emacs-pretest-21.0.90~1485 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fed72c8d9b9082917294e0551050957afcb14576;p=emacs.git (frame-notice-user-settings): Add a last parameter nil 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. --- diff --git a/lisp/frame.el b/lisp/frame.el index e4770cc6be1..263e80e2ff9 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -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)