Commit b2c102f3 authored by John Wiegley's avatar John Wiegley
Browse files

(eshell-shuffle-files): Apply `directory-file-name' before calling

`file-name-directory'.
parent 734f7362
......@@ -360,10 +360,12 @@ Remove the DIRECTORY(ies), if they are empty.")
(eq func 'rename-file)
(= (nth 11 (eshell-file-attributes
(file-name-directory
(expand-file-name source))))
(directory-file-name
(expand-file-name source)))))
(nth 11 (eshell-file-attributes
(file-name-directory
(expand-file-name target))))))
(directory-file-name
(expand-file-name target)))))))
(apply 'eshell-funcalln func source target args)
(unless (file-directory-p target)
(if verbose
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment