From 5ec2288f4a910020a2e07523f75f8c610011e9e4 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Thu, 9 Apr 2009 13:40:19 +0000 Subject: [PATCH] * tramp-cache.el (tramp-flush-directory-property): Use the localname of KEY for check. --- lisp/net/tramp-cache.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/net/tramp-cache.el b/lisp/net/tramp-cache.el index 00e70aa79dd..8a42a3ff746 100644 --- a/lisp/net/tramp-cache.el +++ b/lisp/net/tramp-cache.el @@ -138,7 +138,7 @@ Remove also properties of all files in subdirectories." (tramp-message vec 8 "%s" directory) (maphash '(lambda (key value) - (when (and (stringp key) + (when (and (stringp (tramp-file-name-localname key)) (string-match directory (tramp-file-name-localname key))) (remhash key tramp-cache-data))) tramp-cache-data))) -- 2.39.5