From 662cf9d7fa73e07456e5e62e99c2060c45d14054 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 18 Jul 2000 11:44:12 +0000 Subject: [PATCH] (eshell-shuffle-files): Don't disable same-file check in the MS-DOS version (it does support inodes). --- lisp/eshell/em-unix.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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))) -- 2.39.2