From: Richard M. Stallman Date: Thu, 17 Mar 2005 23:36:03 +0000 (+0000) Subject: (Fcopy_file, Frename_file, Fadd_name_to_file) X-Git-Tag: ttn-vms-21-2-B4~1740 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7c0f6118c356ee202850cd50ff0f4b35ed7e5baa;p=emacs.git (Fcopy_file, Frename_file, Fadd_name_to_file) (Fmake_symbolic_link): Use G to read the new file name. --- 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) } DEFUN ("copy-file", Fcopy_file, Scopy_file, 2, 4, - "fCopy file: \nFCopy %s to file: \np\nP", + "fCopy file: \nGCopy %s to file: \np\nP", doc: /* Copy FILE to NEWNAME. Both args must be strings. If NEWNAME names a directory, copy FILE there. Signals a `file-already-exists' error if file NEWNAME already exists, @@ -2669,7 +2669,7 @@ internal_delete_file (filename) } DEFUN ("rename-file", Frename_file, Srename_file, 2, 3, - "fRename file: \nFRename %s to file: \np", + "fRename file: \nGRename %s to file: \np", doc: /* Rename FILE as NEWNAME. Both args strings. If file has names other than FILE, it continues to have those names. Signals 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. */) } DEFUN ("add-name-to-file", Fadd_name_to_file, Sadd_name_to_file, 2, 3, - "fAdd name to file: \nFName to add to %s: \np", + "fAdd name to file: \nGName to add to %s: \np", doc: /* Give FILE additional name NEWNAME. Both args strings. Signals a `file-already-exists' error if a file NEWNAME already exists unless optional third argument OK-IF-ALREADY-EXISTS is non-nil. @@ -2824,7 +2824,7 @@ This is what happens in interactive use with M-x. */) #ifdef S_IFLNK DEFUN ("make-symbolic-link", Fmake_symbolic_link, Smake_symbolic_link, 2, 3, - "FMake symbolic link to file: \nFMake symbolic link to file %s: \np", + "FMake symbolic link to file: \nGMake symbolic link to file %s: \np", doc: /* Make a symbolic link to FILENAME, named LINKNAME. Both args strings. Signals a `file-already-exists' error if a file LINKNAME already exists unless optional third argument OK-IF-ALREADY-EXISTS is non-nil.