# HG changeset patch # User Richard M. Stallman # Date 1111102563 0 # Node ID 3f5458d947ecfc6d9755bae9a11a81d21a21f730 # Parent 046708b92d493f3210bed3623c7cb0b32e692955 (Fcopy_file, Frename_file, Fadd_name_to_file) (Fmake_symbolic_link): Use G to read the new file name. diff -r 046708b92d49 -r 3f5458d947ec src/fileio.c --- a/src/fileio.c Thu Mar 17 23:33:07 2005 +0000 +++ b/src/fileio.c Thu Mar 17 23:36:03 2005 +0000 @@ -2378,7 +2378,7 @@ } 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 @@ } 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 @@ } 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 @@ #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.