changeset 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 c6db9eb192d8
children 7739d3981d2f
files lisp/eshell/em-unix.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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"