From: Eli Zaretskii Date: Tue, 18 Jul 2000 11:44:12 +0000 (+0000) Subject: (eshell-shuffle-files): Don't disable X-Git-Tag: emacs-pretest-21.0.90~2782 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=662cf9d7fa73e07456e5e62e99c2060c45d14054;p=emacs.git (eshell-shuffle-files): Don't disable same-file check in the MS-DOS version (it does support inodes). --- 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)))