changeset 102906:dafde9e3d72b

* tramp-cache.el (tramp-flush-directory-property): Use the localname of KEY for check.
author Michael Albinus <michael.albinus@gmx.de>
date Thu, 09 Apr 2009 13:40:19 +0000
parents c87b43196226
children 5055f4ba592b
files lisp/net/tramp-cache.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/tramp-cache.el	Thu Apr 09 11:11:25 2009 +0000
+++ b/lisp/net/tramp-cache.el	Thu Apr 09 13:40:19 2009 +0000
@@ -138,7 +138,7 @@
   (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)))