diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c index 18bbffb3789..9742cf1a258 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -1828,6 +1828,9 @@ DEFUN ("copy-file", Fcopy_file, Scopy_file, 2, 6, | |||
| 1828 | If NEWNAME is a directory name, copy FILE to a like-named file under | 1828 | If NEWNAME is a directory name, copy FILE to a like-named file under |
| 1829 | NEWNAME. | 1829 | NEWNAME. |
| 1830 | 1830 | ||
| 1831 | For NEWNAME to be recognized as a directory name, it should name a | ||
| 1832 | directory and end in a slash. | ||
| 1833 | |||
| 1831 | This function always sets the file modes of the output file to match | 1834 | This function always sets the file modes of the output file to match |
| 1832 | the input file. | 1835 | the input file. |
| 1833 | 1836 | ||
| @@ -2253,6 +2256,9 @@ If file has names other than FILE, it continues to have those names. | |||
| 2253 | If NEWNAME is a directory name, rename FILE to a like-named file under | 2256 | If NEWNAME is a directory name, rename FILE to a like-named file under |
| 2254 | NEWNAME. | 2257 | NEWNAME. |
| 2255 | 2258 | ||
| 2259 | For NEWNAME to be recognized as a directory name, it should name a | ||
| 2260 | directory and end in a slash. | ||
| 2261 | |||
| 2256 | Signal a `file-already-exists' error if a file NEWNAME already exists | 2262 | Signal a `file-already-exists' error if a file NEWNAME already exists |
| 2257 | unless optional third argument OK-IF-ALREADY-EXISTS is non-nil. | 2263 | unless optional third argument OK-IF-ALREADY-EXISTS is non-nil. |
| 2258 | An integer third arg means request confirmation if NEWNAME already exists. | 2264 | An integer third arg means request confirmation if NEWNAME already exists. |