unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Docstring of make-symbolic-link
@ 2019-06-10 19:44 Juanma Barranquero
  2019-06-11 14:22 ` Eli Zaretskii
  0 siblings, 1 reply; 11+ messages in thread
From: Juanma Barranquero @ 2019-06-10 19:44 UTC (permalink / raw)
  To: Emacs developers

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-06-21  8:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-10 19:44 Docstring of make-symbolic-link Juanma Barranquero
2019-06-11 14:22 ` 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

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