aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell/em-unix.el
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2001-09-10 20:40:42 +0000
committerEli Zaretskii <[email protected]>2001-09-10 20:40:42 +0000
commit1f9581b61c03d5a763dcd8cca22363a7dca81bc9 (patch)
tree0c5daa6de925e3bdfb65347dc3ef77b1c32cc727 /lisp/eshell/em-unix.el
parent65ee3bf5bf8e09ca36f8a72149f7027d1afa6595 (diff)
(eshell-shuffle-files): Compare inodes with
`equal' instead of `=', since they can be cons cells. From Nils Goesche <[email protected]>.
Diffstat (limited to 'lisp/eshell/em-unix.el')
-rw-r--r--lisp/eshell/em-unix.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/em-unix.el b/lisp/eshell/em-unix.el
index 6db127a45f..985191080a 100644
--- a/lisp/eshell/em-unix.el
+++ b/lisp/eshell/em-unix.el
@@ -342,7 +342,7 @@ Remove the DIRECTORY(ies), if they are empty.")
(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"