Skip to content

Commit

Permalink
Remove thumbnailed directories from cache when cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
thierryvolpiatto committed Jul 7, 2023
1 parent b0e9630 commit 25461b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm-files.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 25461b0

Please sign in to comment.