]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix ns-win.el (x-file-dialog) declaration
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 18 Aug 2022 20:58:39 +0000 (22:58 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 19 Aug 2022 11:05:46 +0000 (13:05 +0200)
* lisp/term/ns-win.el (x-file-dialog): Give the function the same
signature here as other definitions.

lisp/term/ns-win.el

index e26191b33b41b71ecf6ae2aa4593208cf13fc751..56aca2bd83e48a3fc5aca27909e4f026152b58fe 100644 (file)
@@ -439,7 +439,8 @@ Lines are highlighted according to `ns-input-line'."
 
 ;;;; File handling.
 
-(defun x-file-dialog (prompt dir default_filename mustmatch only_dir_p)
+(defun x-file-dialog (prompt dir &optional default_filename
+                             mustmatch only_dir_p)
   "SKIP: real doc in xfns.c."
   (ns-read-file-name prompt dir mustmatch default_filename only_dir_p))