HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(frame-delete-all): Copy the whole alist first.
[bpt/emacs.git]
/
lisp
/
frame.el
diff --git
a/lisp/frame.el
b/lisp/frame.el
index
0688b30
..
b529afc
100644
(file)
--- a/
lisp/frame.el
+++ b/
lisp/frame.el
@@
-336,6
+336,7
@@
These supersede the values given in `default-frame-alist'.")
;; Delete from ALIST all elements whose car is KEY.
;; Return the modified alist.
(defun frame-delete-all (key alist)
+ (setq alist (copy-sequence alist))
(let ((tail alist))
(while tail
(if (eq (car (car tail)) key)