unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Emacs developers <emacs-devel@gnu.org>
Subject: Docstring of make-symbolic-link
Date: Mon, 10 Jun 2019 21:44:46 +0200	[thread overview]
Message-ID: <CAAeL0SQ4+8xm0bQsadvB8tFxUJjq8g_5qnf3dkJ1KSiZagXkGw@mail.gmail.com> (raw)

make-symbolic link uses NEWNAME in its docstring, but LINKNAME as the
argument name:

  (make-symbolic-link TARGET LINKNAME &optional OK-IF-ALREADY-EXISTS)

  Make a symbolic link to TARGET, named NEWNAME.
  If NEWNAME is a directory name, make a like-named symbolic link under
  NEWNAME.

  [etc...]

The easiest way to fix it is to change NEWNAME to LINKNAME in the
docstring, but I think NEWNAME is the preferred name, and it is also
used in the info files.

The alternative is to change linkname to newname in the code, and
encoded_linkname to encoded_newname (not required, but for
consistency).

It is a trivial change, but as it touches code in 26.2.50, better safe
than sorry. So, newname everywhere, or linkname everywhere (including
the info files)?



             reply	other threads:[~2019-06-10 19:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-10 19:44 Juanma Barranquero [this message]
2019-06-11 14:22 ` Docstring of make-symbolic-link Eli Zaretskii
2019-06-11 15:50   ` Paul Eggert
2019-06-12 22:31     ` Juanma Barranquero
2019-06-13  4:53       ` Eli Zaretskii
2019-06-13  7:41         ` Juanma Barranquero
2019-06-13  8:57           ` Eli Zaretskii
2019-06-19 21:33             ` Juanma Barranquero
2019-06-21  7:52               ` Eli Zaretskii
2019-06-21  7:57                 ` Juanma Barranquero
2019-06-21  8:24                   ` Eli Zaretskii

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=CAAeL0SQ4+8xm0bQsadvB8tFxUJjq8g_5qnf3dkJ1KSiZagXkGw@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=emacs-devel@gnu.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).