[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 64497fb: * lisp/files.el (file-has-changed-p): Index the cache wi
From: |
Stefan Monnier |
Subject: |
master 64497fb: * lisp/files.el (file-has-changed-p): Index the cache with absolute file names |
Date: |
Thu, 18 Nov 2021 22:06:58 -0500 (EST) |
branch: master
commit 64497fb8cc62c9c8302a20d54fc52e3113b0983e
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* lisp/files.el (file-has-changed-p): Index the cache with absolute file
names
---
lisp/files.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lisp/files.el b/lisp/files.el
index 49bf06b..1979f1b 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -6224,8 +6224,7 @@ of `file-has-changed-p' always returns non-nil when FILE
exists.
The optional argument TAG, which must be a symbol, can be used to
limit the comparison to invocations with identical tags; it can be
the symbol of the calling function, for example."
- (let* (;; FIXME: Shall we use `file-truename'?
- (file (directory-file-name file))
+ (let* ((file (directory-file-name (expand-file-name file)))
(remote-file-name-inhibit-cache t)
(fileattr (file-attributes file 'integer))
(attr (and fileattr
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 64497fb: * lisp/files.el (file-has-changed-p): Index the cache with absolute file names,
Stefan Monnier <=