diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/nsfns.m | 2 | ||||
| -rw-r--r-- | src/w32fns.c | 2 | ||||
| -rw-r--r-- | src/xfns.c | 2 |
4 files changed, 10 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index fc1859a0ca5..049c2399caa 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2011-11-11 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * xfns.c (unwind_create_frame): | ||
| 4 | * nsfns.m (unwind_create_frame): | ||
| 5 | * w32fns.c (unwind_create_frame): Use Fmemq to check if frame is in | ||
| 6 | Vframe_list (Bug#9999). | ||
| 7 | |||
| 1 | 2011-11-11 Dmitry Antipov <dmantipov@yandex.ru> | 8 | 2011-11-11 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 9 | ||
| 3 | * xdisp.c (syms_of_xdisp): Remove duplicated definition of Qtext. | 10 | * xdisp.c (syms_of_xdisp): Remove duplicated definition of Qtext. |
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); |
diff --git a/src/w32fns.c b/src/w32fns.c index 6f32442514a..ffbcff86694 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -3986,7 +3986,7 @@ unwind_create_frame (Lisp_Object frame) | |||
| 3986 | struct frame *f = XFRAME (frame); | 3986 | struct frame *f = XFRAME (frame); |
| 3987 | 3987 | ||
| 3988 | /* If frame is ``official'', nothing to do. */ | 3988 | /* If frame is ``official'', nothing to do. */ |
| 3989 | if (!CONSP (Vframe_list) || !EQ (XCAR (Vframe_list), frame)) | 3989 | if (NILP (Fmemq (frame, Vframe_list))) |
| 3990 | { | 3990 | { |
| 3991 | #if GLYPH_DEBUG | 3991 | #if GLYPH_DEBUG |
| 3992 | struct w32_display_info *dpyinfo = FRAME_W32_DISPLAY_INFO (f); | 3992 | struct w32_display_info *dpyinfo = FRAME_W32_DISPLAY_INFO (f); |
diff --git a/src/xfns.c b/src/xfns.c index 49c4c774cae..2359a1a82c2 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -2929,7 +2929,7 @@ unwind_create_frame (Lisp_Object frame) | |||
| 2929 | return Qnil; | 2929 | return Qnil; |
| 2930 | 2930 | ||
| 2931 | /* If frame is ``official'', nothing to do. */ | 2931 | /* If frame is ``official'', nothing to do. */ |
| 2932 | if (!CONSP (Vframe_list) || !EQ (XCAR (Vframe_list), frame)) | 2932 | if (NILP (Fmemq (frame, Vframe_list))) |
| 2933 | { | 2933 | { |
| 2934 | #if GLYPH_DEBUG && XASSERTS | 2934 | #if GLYPH_DEBUG && XASSERTS |
| 2935 | struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f); | 2935 | struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f); |