aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/files.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2002-08-28 22:23:36 +0000
committerRichard M. Stallman <[email protected]>2002-08-28 22:23:36 +0000
commit6f4b3ed83d4f1f454041c0365c41d5edc791e974 (patch)
treeb78574fbeb8aa956a34457821091a3d6114d6041 /lisp/files.el
parentd7b6ca4a9f4432a94d9000c35f32144874faf4ea (diff)
(find-buffer-visiting): Compare file attributes using buffer-file-truename.
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 0cb3fddece..0983762356 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -1076,7 +1076,7 @@ If there is no such live buffer, return nil."
;; 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))))