From fed72c8d9b9082917294e0551050957afcb14576 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 20 Sep 2000 16:04:38 +0000 Subject: [PATCH] (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. --- lisp/frame.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2