* xfns.c (unwind_create_frame):

* nsfns.m (unwind_create_frame):
* w32fns.c (unwind_create_frame): Use Fmemq to check if frame is in
Vframe_list.

Fixes: debbugs:9999
This commit is contained in:
Jan Djärv 2011-11-11 19:33:30 +01:00
parent 65bd19ff8a
commit 97f18cc83d
4 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2011-11-11 Jan Djärv <jan.h.d@swipnet.se>
* xfns.c (unwind_create_frame):
* nsfns.m (unwind_create_frame):
* w32fns.c (unwind_create_frame): Use Fmemq to check if frame is in
Vframe_list (Bug#9999).
2011-11-11 Dmitry Antipov <dmantipov@yandex.ru>
* xdisp.c (syms_of_xdisp): Remove duplicated definition of Qtext.

View file

@ -1057,7 +1057,7 @@ Turn the input menu (an NSMenu) into a lisp list for tracking on lisp side
return Qnil;
/* If frame is ``official'', nothing to do. */
if (!CONSP (Vframe_list) || !EQ (XCAR (Vframe_list), frame))
if (NILP (Fmemq (frame, Vframe_list)))
{
#if GLYPH_DEBUG && XASSERTS
struct ns_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f);

View file

@ -3986,7 +3986,7 @@ unwind_create_frame (Lisp_Object frame)
struct frame *f = XFRAME (frame);
/* If frame is ``official'', nothing to do. */
if (!CONSP (Vframe_list) || !EQ (XCAR (Vframe_list), frame))
if (NILP (Fmemq (frame, Vframe_list)))
{
#if GLYPH_DEBUG
struct w32_display_info *dpyinfo = FRAME_W32_DISPLAY_INFO (f);

View file

@ -2929,7 +2929,7 @@ unwind_create_frame (Lisp_Object frame)
return Qnil;
/* If frame is ``official'', nothing to do. */
if (!CONSP (Vframe_list) || !EQ (XCAR (Vframe_list), frame))
if (NILP (Fmemq (frame, Vframe_list)))
{
#if GLYPH_DEBUG && XASSERTS
struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f);