diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/dired-aux.el | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7cd39ae6d4b..d0529bc00f1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com> | ||
| 2 | |||
| 3 | * dired-aux.el (dired-create-files): Adapt destination name to | ||
| 4 | match the new behavior of copy-directory. | ||
| 5 | |||
| 1 | 2011-02-12 Chong Yidong <cyd@stupidchicken.com> | 6 | 2011-02-12 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * mail/mail-utils.el (mail-dont-reply-to-names): New variable, | 8 | * mail/mail-utils.el (mail-dont-reply-to-names): New variable, |
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index 6f33831eb38..cb1324051a7 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el | |||
| @@ -1383,6 +1383,10 @@ ESC or `q' to not overwrite any of the remaining files, | |||
| 1383 | (cond ((integerp marker-char) marker-char) | 1383 | (cond ((integerp marker-char) marker-char) |
| 1384 | (marker-char (dired-file-marker from)) ; slow | 1384 | (marker-char (dired-file-marker from)) ; slow |
| 1385 | (t nil)))) | 1385 | (t nil)))) |
| 1386 | (when (and (file-directory-p from) | ||
| 1387 | (file-directory-p to) | ||
| 1388 | (eq file-creator 'dired-copy-file)) | ||
| 1389 | (setq to (file-name-directory to))) | ||
| 1386 | (condition-case err | 1390 | (condition-case err |
| 1387 | (progn | 1391 | (progn |
| 1388 | (funcall file-creator from to dired-overwrite-confirmed) | 1392 | (funcall file-creator from to dired-overwrite-confirmed) |