[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm ed071b797b 3/3: Add command to clear helm-ff-image-di
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm ed071b797b 3/3: Add command to clear helm-ff-image-dired-thumbnails-cache |
Date: |
Mon, 3 Oct 2022 02:58:42 -0400 (EDT) |
branch: elpa/helm
commit ed071b797bd287733b46ec17799ce6e8d255eef4
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Add command to clear helm-ff-image-dired-thumbnails-cache
---
helm-files.el | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/helm-files.el b/helm-files.el
index 4e64cba58f..3473e48ee8 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -4920,6 +4920,15 @@ Special commands:
"\\`[[:multibyte:] ]*" "" (helm-get-selection
nil t)))))
(put 'helm-ff-toggle-thumbnails 'no-helm-mx t)
+;;;###autoload
+(defun helm-ff-clear-image-dired-thumbnails-cache ()
+ "Clear `helm-ff-image-dired-thumbnails-cache'.
+You may want to do this after customizing
+`image-dired-thumbnail-storage' which may change the place where
+thumbnail files are stored."
+ (interactive)
+ (clrhash helm-ff-image-dired-thumbnails-cache))
+
;;;###autoload
(defun helm-ff-cleanup-image-dired-dir-and-cache ()
"Cleanup `image-dired-dir' directory.