From: YAMAMOTO Mitsuharu Date: Sun, 10 Sep 2006 05:51:45 +0000 (+0000) Subject: (Fx_file_dialog): Remove unused variable `f'. Call check_mac. X-Git-Tag: emacs-pretest-22.0.90~650 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=267fb7e271a0b8ac648f9a60c52caa373aaea237;p=emacs.git (Fx_file_dialog): Remove unused variable `f'. Call check_mac. --- diff --git a/src/macfns.c b/src/macfns.c index 51787067c29..dfe11074a4c 100644 --- a/src/macfns.c +++ b/src/macfns.c @@ -4345,13 +4345,14 @@ If ONLY-DIR-P is non-nil, the user can only select directories. */) (prompt, dir, default_filename, mustmatch, only_dir_p) Lisp_Object prompt, dir, default_filename, mustmatch, only_dir_p; { - struct frame *f = SELECTED_FRAME (); Lisp_Object file = Qnil; int count = SPECPDL_INDEX (); struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5, gcpro6; char filename[MAXPATHLEN]; static NavEventUPP mac_nav_event_callbackUPP = NULL; + check_mac (); + GCPRO6 (prompt, dir, default_filename, mustmatch, file, only_dir_p); CHECK_STRING (prompt); CHECK_STRING (dir);