changeset 56616:76bd0e931318

(window_list_1): YAILOM.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 07 Aug 2004 21:07:57 +0000
parents c0f488e9cb26
children 8685ad649821
files src/ChangeLog src/window.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Aug 07 20:57:19 2004 +0000
+++ b/src/ChangeLog	Sat Aug 07 21:07:57 2004 +0000
@@ -1,5 +1,7 @@
 2004-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+	* window.c (window_list_1): YAILOM.
+
 	* fileio.c (make_temp_name): Handle multibyte prefixes.
 
 2004-08-06  Luc Teirlinck  <teirllm@auburn.edu>
--- a/src/window.c	Sat Aug 07 20:57:19 2004 +0000
+++ b/src/window.c	Sat Aug 07 21:07:57 2004 +0000
@@ -1828,7 +1828,7 @@
   rest = Fmemq (window, list);
   if (!NILP (rest) && !EQ (rest, list))
     {
-      for (tail = list; XCDR (tail) != rest; tail = XCDR (tail))
+      for (tail = list; !EQ (XCDR (tail), rest); tail = XCDR (tail))
 	;
       XSETCDR (tail, Qnil);
       list = nconc2 (rest, list);