unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: emacs-devel@gnu.org
Cc: Lars Ingebrigtsen <larsi@gnus.org>
Subject: Re: master 088171e053 1/2: Fix ns-win.el (x-file-dialog) declaration
Date: Fri, 19 Aug 2022 19:58:36 +0800	[thread overview]
Message-ID: <8735dso36b.fsf@yahoo.com> (raw)
In-Reply-To: <20220819110614.BB982C04F0E@vcs2.savannah.gnu.org> (Lars Ingebrigtsen's message of "Fri, 19 Aug 2022 07:06:14 -0400 (EDT)")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> 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))
>  

I guess it would be good to change the function arguments names too to
avoid the underscores.



       reply	other threads:[~2022-08-19 11:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <166090717426.4526.7562850425788954733@vcs2.savannah.gnu.org>
     [not found] ` <20220819110614.BB982C04F0E@vcs2.savannah.gnu.org>
2022-08-19 11:58   ` Po Lu [this message]
2022-08-19 12:02     ` master 088171e053 1/2: Fix ns-win.el (x-file-dialog) declaration Lars Ingebrigtsen
2022-08-19 13:29       ` Po Lu
2022-08-19 13:37         ` Lars Ingebrigtsen
2022-08-19 14:05           ` Po Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8735dso36b.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).