# HG changeset patch # User Glenn Morris # Date 1209015977 0 # Node ID 755dd4bba8300539b7ed80933c46942ca0da21e9 # Parent c3992d04d39af1295aa0e013eea3fa68a7bf7e63 (x-file-dialog): Declare as function. diff -r c3992d04d39a -r 755dd4bba830 lisp/minibuffer.el --- a/lisp/minibuffer.el Thu Apr 24 05:45:26 2008 +0000 +++ b/lisp/minibuffer.el Thu Apr 24 05:46:17 2008 +0000 @@ -851,6 +851,10 @@ :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.