Skip to content

Commit

Permalink
(eshell-shuffle-files): Apply `directory-file-name' before calling
Browse files Browse the repository at this point in the history
`file-name-directory'.
  • Loading branch information
jwiegley committed May 10, 2001
1 parent 3cf47b4 commit 8051993
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions em-unix.el
Expand Up @@ -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
Expand Down

0 comments on commit 8051993

Please sign in to comment.