changeset 47090:9c336e422221

(find-buffer-visiting): Compare file attributes using buffer-file-truename.
author Richard M. Stallman <rms@gnu.org>
date Wed, 28 Aug 2002 22:23:17 +0000
parents 37900cd8903a
children dd0d344ffbd3
files lisp/files.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Wed Aug 28 22:16:42 2002 +0000
+++ b/lisp/files.el	Wed Aug 28 22:23:17 2002 +0000
@@ -1076,7 +1076,7 @@
 			    ;; Verify this buffer's file number
 			    ;; still belongs to its file.
 			    (file-exists-p buffer-file-name)
-			    (equal (file-attributes buffer-file-name)
+			    (equal (file-attributes buffer-file-truename)
 				   attributes))
 		       (setq found (car list))))
 		 (setq list (cdr list))))