branch: externals/tempel
commit 87c90c2b209063ce24ee2bc064db4d14c8ce215e
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>
Use file-chase-links for performance
---
tempel.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tempel.el b/tempel.el
index 25086a7cdb..6a4be115e8 100644
--- a/tempel.el
+++ b/tempel.el
@@ -501,7 +501,7 @@ This is meant to be a source in `tempel-template-sources'."
(cl-loop
for f in files collect
(cons f (time-convert (file-attribute-modification-time
- (file-attributes (file-truename f)))
+ (file-attributes (file-chase-links f)))
'integer)))))
(unless (equal (car tempel--path-templates) timestamps)
(setq tempel--path-templates (cons timestamps