aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJuanma Barranquero2019-06-21 21:41:47 +0200
committerJuanma Barranquero2019-06-21 21:42:36 +0200
commit572e34bb6fcbbbde2325b679fef64ee26e78ce8a (patch)
tree9c3009a84eb028a9d4a015ad26f8686bd8ff98c0 /doc
parent04477adedcee0d023dabc46a652f1673a2e9bd95 (diff)
downloademacs-572e34bb6fcbbbde2325b679fef64ee26e78ce8a.tar.gz
emacs-572e34bb6fcbbbde2325b679fef64ee26e78ce8a.zip
Rename 'make-symbolic-link' argument NEWNAME to LINKNAME
* src/fileio.c (Fmake_symbolic_link): Fix docstring. * doc/lispref/files.texi (Changing Files): Doc fix.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/files.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi
index 380e0543ddd..ebe2fdd6a0c 100644
--- a/doc/lispref/files.texi
+++ b/doc/lispref/files.texi
@@ -1759,12 +1759,12 @@ default file permissions (see @code{set-default-file-modes} below), if
1759SELinux context are not copied over in either case. 1759SELinux context are not copied over in either case.
1760@end deffn 1760@end deffn
1761 1761
1762@deffn Command make-symbolic-link target newname &optional ok-if-already-exists 1762@deffn Command make-symbolic-link target linkname &optional ok-if-already-exists
1763@pindex ln 1763@pindex ln
1764@kindex file-already-exists 1764@kindex file-already-exists
1765This command makes a symbolic link to @var{target}, named 1765This command makes a symbolic link to @var{target}, named
1766@var{newname}. This is like the shell command @samp{ln -s 1766@var{linkname}. This is like the shell command @samp{ln -s
1767@var{target} @var{newname}}. The @var{target} argument 1767@var{target} @var{linkname}}. The @var{target} argument
1768is treated only as a string; it need not name an existing file. 1768is treated only as a string; it need not name an existing file.
1769If @var{ok-if-already-exists} is an integer, indicating interactive 1769If @var{ok-if-already-exists} is an integer, indicating interactive
1770use, then leading @samp{~} is expanded and leading @samp{/:} is 1770use, then leading @samp{~} is expanded and leading @samp{/:} is
@@ -1774,7 +1774,7 @@ If @var{target} is a relative file name, the resulting symbolic link
1774is interpreted relative to the directory containing the symbolic link. 1774is interpreted relative to the directory containing the symbolic link.
1775@xref{Relative File Names}. 1775@xref{Relative File Names}.
1776 1776
1777If both @var{target} and @var{newname} have remote file name syntax, 1777If both @var{target} and @var{linkname} have remote file name syntax,
1778and if both remote identifications are equal, the symbolic link points 1778and if both remote identifications are equal, the symbolic link points
1779to the local file name part of @var{target}. 1779to the local file name part of @var{target}.
1780 1780