emacs-diffs
[Top][All Lists]
Advanced

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

master 962cb44eea: Fix underscores in argument names in ns-win


From: Lars Ingebrigtsen
Subject: master 962cb44eea: Fix underscores in argument names in ns-win
Date: Fri, 19 Aug 2022 09:37:49 -0400 (EDT)

branch: master
commit 962cb44eea43a0e5591788a218813ac3a8e57181
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix underscores in argument names in ns-win
    
    * lisp/term/ns-win.el (x-file-dialog): Don't use underscores in
    argument names.
---
 lisp/term/ns-win.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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



reply via email to

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