HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31d7d34
)
(x_get_arg): Clear out all occurrences of PARAM in ALIST.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 15 Feb 2006 01:05:33 +0000
(
01:05
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 15 Feb 2006 01:05:33 +0000
(
01:05
+0000)
src/frame.c
patch
|
blob
|
blame
|
history
diff --git
a/src/frame.c
b/src/frame.c
index
6712fa6
..
08b3764
100644
(file)
--- a/
src/frame.c
+++ b/
src/frame.c
@@
-3526,7
+3526,14
@@
x_get_arg (dpyinfo, alist, param, attribute, class, type)
so that it won't be "left over" at the end. */
#ifdef HAVE_X_WINDOWS /* macfns.c and w32fns.c have not yet
been changed to cope with this. */
+ Lisp_Object tail;
XSETCAR (tem, Qnil);
+ /* In case the parameter appears more than once in the alist,
+ clear it out. */
+ for (tail = alist; CONSP (tail); tail = XCDR (tail))
+ if (CONSP (XCAR (tail))
+ && EQ (XCAR (XCAR (tail)), param))
+ XSETCAR (XCAR (tail), Qnil);
#endif
}
else