Fix underscores in argument names in ns-win

* lisp/term/ns-win.el (x-file-dialog): Don't use underscores in
argument names.
This commit is contained in:
Lars Ingebrigtsen 2022-08-19 15:37:35 +02:00
parent 705c45041f
commit 962cb44eea

View file

@ -435,14 +435,14 @@ Lines are highlighted according to `ns-input-line'."
;; nsterm.m
(declare-function ns-read-file-name "nsfns.m"
(prompt &optional dir mustmatch init dir_only_p))
(prompt &optional dir mustmatch init dir-only-p))
;;;; File handling.
(defun x-file-dialog (prompt dir &optional 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))
(ns-read-file-name prompt dir mustmatch default-filename only-dir-p))
(defun ns-open-file-using-panel ()
"Pop up open-file panel, and load the result in a buffer."