From 55d82625c1565522e6162e38d0cc09e5c3c7ba3f Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Mon, 12 Aug 2019 16:17:39 +0200 Subject: [PATCH] Fix caching problem in Tramp smb method * lisp/net/tramp-cache.el (tramp-flush-file-upper-properties): Add "file-entries", --- lisp/net/tramp-cache.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/net/tramp-cache.el b/lisp/net/tramp-cache.el index b52203c79cf..1380d0368c7 100644 --- a/lisp/net/tramp-cache.el +++ b/lisp/net/tramp-cache.el @@ -205,7 +205,8 @@ Returns VALUE." (maphash (lambda (property _value) (when (string-match-p - "^\\(directory-\\|file-name-all-completions\\)" property) + "^\\(directory-\\|file-name-all-completions\\|file-entries\\)" + property) (tramp-flush-file-property key file property))) (tramp-get-hash-table key))))) -- 2.39.2