emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/helm 25461b0463 4/4: Remove thumbnailed directories from c


From: ELPA Syncer
Subject: [nongnu] elpa/helm 25461b0463 4/4: Remove thumbnailed directories from cache when cleaning
Date: Fri, 7 Jul 2023 03:59:57 -0400 (EDT)

branch: elpa/helm
commit 25461b0463845efa7f0eb710879f26543c4a4dae
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>

    Remove thumbnailed directories from cache when cleaning
---
 helm-files.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/helm-files.el b/helm-files.el
index 41f9761617..809844d213 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -5442,6 +5442,10 @@ source is `helm-source-find-files'."
           helm-ff-update-when-only-one-matched
           helm-ff-move-to-first-real-candidate
           helm-ff-clean-initial-input))
+  (maphash (lambda (k _v)
+             (when (member k helm-ff--thumbnailed-directories)
+               (remhash k helm-ff--list-directory-cache)))
+           helm-ff--list-directory-cache)
   (setq helm-ff--show-directories-only nil
         helm-ff--show-files-only nil
         helm-ff--show-thumbnails nil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]