diff options
| author | Karoly Lorentey | 2004-02-03 11:25:07 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-02-03 11:25:07 +0000 |
| commit | d743c8f1dbb655051f49f72c3d37484df5a2bea8 (patch) | |
| tree | fade0d73db48b94c6deda6f685233a7b1b7945f0 /src | |
| parent | b2fedb04ce07f8a577f2e2e991c9834d8ccabac6 (diff) | |
| parent | c010ecfa9a26549486bb00c39221813c02c615de (diff) | |
| download | emacs-d743c8f1dbb655051f49f72c3d37484df5a2bea8.tar.gz emacs-d743c8f1dbb655051f49f72c3d37484df5a2bea8.zip | |
Merged in changes from CVS HEAD
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-70
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-74
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/fileio.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 9a93ac894ca..76d63cab844 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2004-02-02 Eli Zaretskii <eliz@elta.co.il> | ||
| 2 | |||
| 3 | * fileio.c (Fcopy_file): If NEWNAME is a directory, expand the | ||
| 4 | basename of FILE relative to it, not FILE itself. | ||
| 5 | |||
| 1 | 2004-02-02 Kenichi Handa <handa@m17n.org> | 6 | 2004-02-02 Kenichi Handa <handa@m17n.org> |
| 2 | 7 | ||
| 3 | * coding.c (coding_restore_composition): Check invalid | 8 | * coding.c (coding_restore_composition): Check invalid |
diff --git a/src/fileio.c b/src/fileio.c index c7959b3672d..73771591994 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -2407,7 +2407,7 @@ Also set the file modes of the target file to match the source file. */) | |||
| 2407 | CHECK_STRING (newname); | 2407 | CHECK_STRING (newname); |
| 2408 | 2408 | ||
| 2409 | if (!NILP (Ffile_directory_p (newname))) | 2409 | if (!NILP (Ffile_directory_p (newname))) |
| 2410 | newname = Fexpand_file_name (file, newname); | 2410 | newname = Fexpand_file_name (Ffile_name_nondirectory (file), newname); |
| 2411 | else | 2411 | else |
| 2412 | newname = Fexpand_file_name (newname, Qnil); | 2412 | newname = Fexpand_file_name (newname, Qnil); |
| 2413 | 2413 | ||