diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index 41838f0937e..fe4deb1fd32 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -1767,7 +1767,10 @@ This is what happens in interactive use with M-x.") | |||
| 1767 | { | 1767 | { |
| 1768 | if (errno == EXDEV) | 1768 | if (errno == EXDEV) |
| 1769 | { | 1769 | { |
| 1770 | Fcopy_file (filename, newname, ok_if_already_exists, Qt); | 1770 | Fcopy_file (filename, newname, |
| 1771 | /* We have already prompted if it was an integer, | ||
| 1772 | so don't have copy-file prompt again. */ | ||
| 1773 | NILP (ok_if_already_exists) ? Qnil : Qt, Qt); | ||
| 1771 | Fdelete_file (filename); | 1774 | Fdelete_file (filename); |
| 1772 | } | 1775 | } |
| 1773 | else | 1776 | else |