Commit 5ec2288f authored by Michael Albinus's avatar Michael Albinus

* tramp-cache.el (tramp-flush-directory-property): Use the

localname of KEY for check.
parent 3b920650
......@@ -138,7 +138,7 @@ Remove also properties of all files in subdirectories."
(tramp-message vec 8 "%s" directory)
'(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)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment