aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog10
-rw-r--r--lisp/files.el2
2 files changed, 11 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 19ea7df341..a20a02044b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,13 @@
+2002-08-28 Luc Teirlinck <[email protected]>
+
+ * files.el (find-buffer-visiting): Compare file attributes
+ using buffer-file-truename.
+
+2002-08-28 Richard M. Stallman <[email protected]>
+
+ * files.el (make-auto-save-file-name, make-backup-file-name-1):
+ Don't use directory-sep-char.
+
2002-08-28 Juanma Barranquero <[email protected]>
* replace.el (occur-hook): Renamed from `occur-mode-hook'.
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))))