Mercurial > emacs
diff lisp/eshell/em-unix.el @ 39235:f3a553d88ab7
(eshell-shuffle-files): Compare inodes with
`equal' instead of `=', since they can be cons cells. From Nils
Goesche <cartan@cartan.de>.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Mon, 10 Sep 2001 20:39:03 +0000 |
parents | 67b464da13ec |
children | 1e91a5f60ae6 |
line wrap: on
line diff
--- a/lisp/eshell/em-unix.el Mon Sep 10 18:08:48 2001 +0000 +++ b/lisp/eshell/em-unix.el Mon Sep 10 20:39:03 2001 +0000 @@ -342,7 +342,7 @@ (eq system-type 'ms-dos)) (setq attr (eshell-file-attributes (car files))) (nth 10 attr-target) (nth 10 attr) - (= (nth 10 attr-target) (nth 10 attr)) + (equal (nth 10 attr-target) (nth 10 attr)) (nth 11 attr-target) (nth 11 attr) (= (nth 11 attr-target) (nth 11 attr))) (eshell-error (format "%s: `%s' and `%s' are the same file\n"