# HG changeset patch # User Richard M. Stallman # Date 1030573397 0 # Node ID 9c336e42222194d650382dde0d4a9aae7553390f # Parent 37900cd8903a8c80e79861860f7313f7480e05da (find-buffer-visiting): Compare file attributes using buffer-file-truename. diff -r 37900cd8903a -r 9c336e422221 lisp/files.el --- 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))))