emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 088171e053 1/2: Fix ns-win.el (x-file-dialog) declaration


From: Lars Ingebrigtsen
Subject: master 088171e053 1/2: Fix ns-win.el (x-file-dialog) declaration
Date: Fri, 19 Aug 2022 07:06:14 -0400 (EDT)

branch: master
commit 088171e05316c9188186a731f3c7e68c103c4e0a
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix ns-win.el (x-file-dialog) declaration
    
    * lisp/term/ns-win.el (x-file-dialog): Give the function the same
    signature here as other definitions.
---
 lisp/term/ns-win.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el
index e26191b33b..56aca2bd83 100644
--- a/lisp/term/ns-win.el
+++ b/lisp/term/ns-win.el
@@ -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))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]