From 6eeee4d618c29d8cb37a80e6c9c734ed32a788f2 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Sun, 10 Sep 2006 05:52:54 +0000 Subject: [PATCH] (Fx_file_dialog): Call check_x. --- src/ChangeLog | 14 ++++++++++++++ src/xfns.c | 4 ++++ 2 files changed, 18 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 7c1babe6fba..eeaddd967cb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,17 @@ +2006-09-10 YAMAMOTO Mitsuharu + + * src/mac.c [MAC_OSX] (sys_select): Check argument `nfds' more + rigidly. Make variable `ofds' static. Remove variable `maxfd'. + + * src/macfns.c (Fx_file_dialog): Remove unused variable `f'. Call + check_mac. + + * src/macmenu.c (Vmenu_updating_frame, syms_of_xmenu): + * src/w32menu.c (Vmenu_updating_frame, syms_of_xmenu): Apply + 2006-09-08 change for xmenu.c. + + * src/xfns.c (Fx_file_dialog): Call check_x. + 2006-09-10 Kim F. Storm * xdisp.c (get_window_cursor_type): Use hollow cursor on diff --git a/src/xfns.c b/src/xfns.c index 8071ff1c4e6..dd8035c95af 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -5328,6 +5328,8 @@ or directory must exist. ONLY-DIR-P is ignored." */) int count = SPECPDL_INDEX (); struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5, gcpro6; + check_x (); + GCPRO6 (prompt, dir, default_filename, mustmatch, only_dir_p, file); if (popup_activated ()) @@ -5495,6 +5497,8 @@ directories. */) struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5, gcpro6; char *cdef_file; + check_x (); + GCPRO6 (prompt, dir, default_filename, mustmatch, only_dir_p, file); if (popup_activated ()) -- 2.39.2