aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/files.texi8
-rw-r--r--doc/lispref/files.texi11
2 files changed, 13 insertions, 6 deletions
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index 9195bc47efe..fa1f9e53165 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -1611,8 +1611,12 @@ attempts to open file @var{new} will refer to whatever file is named
1611@var{target} at the time the opening is done, or will get an error if 1611@var{target} at the time the opening is done, or will get an error if
1612the name @var{target} is nonexistent at that time. This command does 1612the name @var{target} is nonexistent at that time. This command does
1613not expand the argument @var{target}, so that it allows you to specify 1613not expand the argument @var{target}, so that it allows you to specify
1614a relative name as the target of the link. On MS-Windows, this 1614a relative name as the target of the link. However, this command
1615command works only on MS Windows Vista and later. On remote systems, 1615does expand leading @samp{~} in @var{target} so that you can easily
1616specify home directories, and strips leading @samp{/:} so that you can
1617specify relative names beginning with literal @samp{~} or @samp{/:}.
1618@xref{Quoted File Names}. On MS-Windows, this command works only on
1619MS Windows Vista and later. When @var{new} is remote,
1616it works depending on the system type. 1620it works depending on the system type.
1617 1621
1618@node Misc File Ops 1622@node Misc File Ops
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi
index f701d683703..06466c9bba8 100644
--- a/doc/lispref/files.texi
+++ b/doc/lispref/files.texi
@@ -1726,14 +1726,17 @@ default file permissions (see @code{set-default-file-modes} below), if
1726SELinux context are not copied over in either case. 1726SELinux context are not copied over in either case.
1727@end deffn 1727@end deffn
1728 1728
1729@deffn Command make-symbolic-link filename newname &optional ok-if-already-exists 1729@deffn Command make-symbolic-link target newname &optional ok-if-already-exists
1730@pindex ln 1730@pindex ln
1731@kindex file-already-exists 1731@kindex file-already-exists
1732This command makes a symbolic link to @var{filename}, named 1732This command makes a symbolic link to @var{target}, named
1733@var{newname}. This is like the shell command @samp{ln -s 1733@var{newname}. This is like the shell command @samp{ln -s
1734@var{filename} @var{newname}}. The @var{filename} argument 1734@var{target} @var{newname}}. The @var{target} argument
1735is treated only as a string; it need not name an existing file. 1735is treated only as a string; it need not name an existing file.
1736If @var{filename} is a relative file name, the resulting symbolic link 1736If @var{ok-if-already-exists} is an integer, indicating interactive
1737use, then leading @samp{~} is expanded and leading @samp{/:} is
1738stripped in the @var{target} string.
1739If @var{target} is a relative file name, the resulting symbolic link
1737is interpreted relative to the directory containing the symbolic link. 1740is interpreted relative to the directory containing the symbolic link.
1738@xref{Relative File Names}. 1741@xref{Relative File Names}.
1739 1742