diff options
| author | Jan Djärv | 2011-11-11 19:33:30 +0100 |
|---|---|---|
| committer | Jan Djärv | 2011-11-11 19:33:30 +0100 |
| commit | 97f18cc83d911b1722e00a2558cdff6532c3860a (patch) | |
| tree | 66b9ba7c1fbefbfd208b23396aea75922047450c /src/nsfns.m | |
| parent | 65bd19ff8af487f16c55d250967321c0ee3e58a0 (diff) | |
| download | emacs-97f18cc83d911b1722e00a2558cdff6532c3860a.tar.gz emacs-97f18cc83d911b1722e00a2558cdff6532c3860a.zip | |
* 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
Diffstat (limited to 'src/nsfns.m')
| -rw-r--r-- | src/nsfns.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsfns.m b/src/nsfns.m index 23362433a39..20b021c6f5d 100644 --- a/src/nsfns.m +++ b/src/nsfns.m | |||
| @@ -1057,7 +1057,7 @@ unwind_create_frame (Lisp_Object frame) | |||
| 1057 | return Qnil; | 1057 | return Qnil; |
| 1058 | 1058 | ||
| 1059 | /* If frame is ``official'', nothing to do. */ | 1059 | /* If frame is ``official'', nothing to do. */ |
| 1060 | if (!CONSP (Vframe_list) || !EQ (XCAR (Vframe_list), frame)) | 1060 | if (NILP (Fmemq (frame, Vframe_list))) |
| 1061 | { | 1061 | { |
| 1062 | #if GLYPH_DEBUG && XASSERTS | 1062 | #if GLYPH_DEBUG && XASSERTS |
| 1063 | struct ns_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f); | 1063 | struct ns_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f); |