branch: externals/disk-usage
commit 3af5aa8dcc098c6342f39ac95b1d327e5123bfbd
Author: Pierre Neidhardt <[email protected]>
Commit: Pierre Neidhardt <[email protected]>
Reset hash table properly
---
disk-usage.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/disk-usage.el b/disk-usage.el
index 7549d46..14d9718 100644
--- a/disk-usage.el
+++ b/disk-usage.el
@@ -103,7 +103,7 @@
(defun disk-usage-reset-cache ()
(interactive)
- (setq disk-usage--cache nil))
+ (clrhash disk-usage--cache))
(defun disk-usage--list (directory)
(setq directory (or directory default-directory))