From: Glenn Morris Date: Thu, 24 Apr 2008 05:46:17 +0000 (+0000) Subject: (x-file-dialog): Declare as function. X-Git-Tag: emacs-pretest-23.0.90~6076 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4e3870f5a322efa02e76a40389ea47c071c739ba;p=emacs.git (x-file-dialog): Declare as function. --- diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 53f36896aa3..c1be38243b9 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -851,6 +851,10 @@ such as making the current buffer visit no file in the case of :group 'minibuffer :type 'boolean) +;; Not always defined, but only called if next-read-file-uses-dialog-p says so. +(declare-function x-file-dialog "xfns.c" + (prompt dir &optional default-filename mustmatch only-dir-p)) + (defun read-file-name (prompt &optional dir default-filename mustmatch initial predicate) "Read file name, prompting with PROMPT and completing in directory DIR. Value is not expanded---you must call `expand-file-name' yourself.