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

localname of KEY for check.
This commit is contained in:
Michael Albinus 2009-04-09 13:40:19 +00:00
parent 3b9206508b
commit 5ec2288f4a

View file

@ -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)))