aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2005-03-17 23:36:03 +0000
committerRichard M. Stallman2005-03-17 23:36:03 +0000
commit7c0f6118c356ee202850cd50ff0f4b35ed7e5baa (patch)
tree12ffaa89d2a616205dcab55a5cbdaac3a33944a9 /src
parent75f9fbe87ecb9acefb29258bf0887b05dced69f0 (diff)
downloademacs-7c0f6118c356ee202850cd50ff0f4b35ed7e5baa.tar.gz
emacs-7c0f6118c356ee202850cd50ff0f4b35ed7e5baa.zip
(Fcopy_file, Frename_file, Fadd_name_to_file)
(Fmake_symbolic_link): Use G to read the new file name.
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fileio.c b/src/fileio.c
index db1ea660d97..dbbcace1212 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2378,7 +2378,7 @@ barf_or_query_if_file_exists (absname, querystring, interactive, statptr, quick)
2378} 2378}
2379 2379
2380DEFUN ("copy-file", Fcopy_file, Scopy_file, 2, 4, 2380DEFUN ("copy-file", Fcopy_file, Scopy_file, 2, 4,
2381 "fCopy file: \nFCopy %s to file: \np\nP", 2381 "fCopy file: \nGCopy %s to file: \np\nP",
2382 doc: /* Copy FILE to NEWNAME. Both args must be strings. 2382 doc: /* Copy FILE to NEWNAME. Both args must be strings.
2383If NEWNAME names a directory, copy FILE there. 2383If NEWNAME names a directory, copy FILE there.
2384Signals a `file-already-exists' error if file NEWNAME already exists, 2384Signals a `file-already-exists' error if file NEWNAME already exists,
@@ -2669,7 +2669,7 @@ internal_delete_file (filename)
2669} 2669}
2670 2670
2671DEFUN ("rename-file", Frename_file, Srename_file, 2, 3, 2671DEFUN ("rename-file", Frename_file, Srename_file, 2, 3,
2672 "fRename file: \nFRename %s to file: \np", 2672 "fRename file: \nGRename %s to file: \np",
2673 doc: /* Rename FILE as NEWNAME. Both args strings. 2673 doc: /* Rename FILE as NEWNAME. Both args strings.
2674If file has names other than FILE, it continues to have those names. 2674If file has names other than FILE, it continues to have those names.
2675Signals a `file-already-exists' error if a file NEWNAME already exists 2675Signals a `file-already-exists' error if a file NEWNAME already exists
@@ -2757,7 +2757,7 @@ This is what happens in interactive use with M-x. */)
2757} 2757}
2758 2758
2759DEFUN ("add-name-to-file", Fadd_name_to_file, Sadd_name_to_file, 2, 3, 2759DEFUN ("add-name-to-file", Fadd_name_to_file, Sadd_name_to_file, 2, 3,
2760 "fAdd name to file: \nFName to add to %s: \np", 2760 "fAdd name to file: \nGName to add to %s: \np",
2761 doc: /* Give FILE additional name NEWNAME. Both args strings. 2761 doc: /* Give FILE additional name NEWNAME. Both args strings.
2762Signals a `file-already-exists' error if a file NEWNAME already exists 2762Signals a `file-already-exists' error if a file NEWNAME already exists
2763unless optional third argument OK-IF-ALREADY-EXISTS is non-nil. 2763unless optional third argument OK-IF-ALREADY-EXISTS is non-nil.
@@ -2824,7 +2824,7 @@ This is what happens in interactive use with M-x. */)
2824 2824
2825#ifdef S_IFLNK 2825#ifdef S_IFLNK
2826DEFUN ("make-symbolic-link", Fmake_symbolic_link, Smake_symbolic_link, 2, 3, 2826DEFUN ("make-symbolic-link", Fmake_symbolic_link, Smake_symbolic_link, 2, 3,
2827 "FMake symbolic link to file: \nFMake symbolic link to file %s: \np", 2827 "FMake symbolic link to file: \nGMake symbolic link to file %s: \np",
2828 doc: /* Make a symbolic link to FILENAME, named LINKNAME. Both args strings. 2828 doc: /* Make a symbolic link to FILENAME, named LINKNAME. Both args strings.
2829Signals a `file-already-exists' error if a file LINKNAME already exists 2829Signals a `file-already-exists' error if a file LINKNAME already exists
2830unless optional third argument OK-IF-ALREADY-EXISTS is non-nil. 2830unless optional third argument OK-IF-ALREADY-EXISTS is non-nil.