summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-unix.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2000-07-18 11:44:12 +0000
committerEli Zaretskii <eliz@gnu.org>2000-07-18 11:44:12 +0000
commit662cf9d7fa73e07456e5e62e99c2060c45d14054 (patch)
treecda9d064c63071edca0e18a260ef9808a97c6ca3 /lisp/eshell/em-unix.el
parent1999efa21a05a11366336f86b10a109a67e24e0a (diff)
downloademacs-662cf9d7fa73e07456e5e62e99c2060c45d14054.tar.gz
emacs-662cf9d7fa73e07456e5e62e99c2060c45d14054.tar.bz2
emacs-662cf9d7fa73e07456e5e62e99c2060c45d14054.zip
(eshell-shuffle-files): Don't disable
same-file check in the MS-DOS version (it does support inodes).
Diffstat (limited to 'lisp/eshell/em-unix.el')
-rw-r--r--lisp/eshell/em-unix.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/eshell/em-unix.el b/lisp/eshell/em-unix.el
index 07b318e6be7..33a99cb06a3 100644
--- a/lisp/eshell/em-unix.el
+++ b/lisp/eshell/em-unix.el
@@ -313,7 +313,8 @@ Remove the DIRECTORY(ies), if they are empty.")
(eshell-error (format "%s: %s: omitting directory\n"
command (car files)))))
((and attr-target
- (not (eshell-under-windows-p))
+ (or (not (eshell-under-windows-p))
+ (eq system-type 'ms-dos))
(setq attr (file-attributes (car files)))
(= (nth 10 attr-target) (nth 10 attr))
(= (nth 11 attr-target) (nth 11 attr)))