Don't alter tip_frame or tip_window.
(unwind_create_tip_frame): Set tip_frame to nil only if frame
was deleted.
(unwind_create_tip_frame): Set tip_frame to nil only if frame
was deleted.
+ * w32fns.c (unwind_create_frame): Return t if frame was deleted.
+ Don't alter tip_frame or tip_window.
+ (unwind_create_tip_frame): Set tip_frame to nil only if frame
+ was deleted.
+
2000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
* fileio.c (Fcopy_file): Rename the last argument to keep_time, to
/* Check that reference counts are indeed correct. */
xassert (dpyinfo->reference_count == dpyinfo_refcount);
xassert (dpyinfo->image_cache->refcount == image_cache_refcount);
-
- tip_window = NULL;
- tip_frame = Qnil;
+
+ return Qt;
}
return Qnil;
unwind_create_tip_frame (frame)
Lisp_Object frame;
{
- tip_window = NULL;
- tip_frame = Qnil;
- return unwind_create_frame (frame);
+ Lisp_Object deleted;
+
+ deleted = unwind_create_frame (frame);
+ if (EQ (deleted, Qt))
+ {
+ tip_window = NULL;
+ tip_frame = Qnil;
+ }
+
+ return deleted;
}
/* Check that reference counts are indeed correct. */
xassert (dpyinfo->reference_count == dpyinfo_refcount);
xassert (dpyinfo->image_cache->refcount == image_cache_refcount);
-
- tip_window = None;
- tip_frame = Qnil;
+ return Qt;
}
return Qnil;
unwind_create_tip_frame (frame)
Lisp_Object frame;
{
- tip_window = None;
- tip_frame = Qnil;
- return unwind_create_frame (frame);
+ Lisp_Object deleted;
+
+ deleted = unwind_create_frame (frame);
+ if (EQ (deleted, Qt))
+ {
+ tip_window = None;
+ tip_frame = Qnil;
+ }
+
+ return deleted;
}