[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/frame.c
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/src/frame.c |
Date: |
Wed, 15 Feb 2006 01:05:33 +0000 |
Index: emacs/src/frame.c
diff -u emacs/src/frame.c:1.325 emacs/src/frame.c:1.326
--- emacs/src/frame.c:1.325 Mon Feb 6 15:23:20 2006
+++ emacs/src/frame.c Wed Feb 15 01:05:33 2006
@@ -3526,7 +3526,14 @@
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