aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorJuanma Barranquero2019-06-21 21:41:47 +0200
committerJuanma Barranquero2019-06-21 21:42:36 +0200
commit572e34bb6fcbbbde2325b679fef64ee26e78ce8a (patch)
tree9c3009a84eb028a9d4a015ad26f8686bd8ff98c0 /src/fileio.c
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 'src/fileio.c')
-rw-r--r--src/fileio.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fileio.c b/src/fileio.c
index ba7caddc978..47619c0b7cd 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2474,13 +2474,13 @@ This is what happens in interactive use with M-x. */)
2474 2474
2475DEFUN ("make-symbolic-link", Fmake_symbolic_link, Smake_symbolic_link, 2, 3, 2475DEFUN ("make-symbolic-link", Fmake_symbolic_link, Smake_symbolic_link, 2, 3,
2476 "FMake symbolic link to file: \nGMake symbolic link to file %s: \np", 2476 "FMake symbolic link to file: \nGMake symbolic link to file %s: \np",
2477 doc: /* Make a symbolic link to TARGET, named NEWNAME. 2477 doc: /* Make a symbolic link to TARGET, named LINKNAME.
2478If NEWNAME is a directory name, make a like-named symbolic link under 2478If LINKNAME is a directory name, make a like-named symbolic link under
2479NEWNAME. 2479LINKNAME.
2480 2480
2481Signal a `file-already-exists' error if a file NEWNAME already exists 2481Signal a `file-already-exists' error if a file LINKNAME already exists
2482unless optional third argument OK-IF-ALREADY-EXISTS is non-nil. 2482unless optional third argument OK-IF-ALREADY-EXISTS is non-nil.
2483An integer third arg means request confirmation if NEWNAME already 2483An integer third arg means request confirmation if LINKNAME already
2484exists, and expand leading "~" or strip leading "/:" in TARGET. 2484exists, and expand leading "~" or strip leading "/:" in TARGET.
2485This happens for interactive use with M-x. */) 2485This happens for interactive use with M-x. */)
2486 (Lisp_Object target, Lisp_Object linkname, Lisp_Object ok_if_already_exists) 2486 (Lisp_Object target, Lisp_Object linkname, Lisp_Object ok_if_already_exists)