[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/disk-usage 4fc5cb3 33/48: Refresh cache with prefix arg
From: |
Stefan Monnier |
Subject: |
[elpa] externals/disk-usage 4fc5cb3 33/48: Refresh cache with prefix argument |
Date: |
Tue, 19 Feb 2019 08:00:03 -0500 (EST) |
branch: externals/disk-usage
commit 4fc5cb398980bfb83318db67ddaaeb2e5ccf9864
Author: Pierre Neidhardt <address@hidden>
Commit: Pierre Neidhardt <address@hidden>
Refresh cache with prefix argument
---
disk-usage.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/disk-usage.el b/disk-usage.el
index fd47f14..76bb479 100644
--- a/disk-usage.el
+++ b/disk-usage.el
@@ -171,7 +171,8 @@ It takes the directory to scan as argument."
sum (disk-usage--file-info-size file)))
(defun disk-usage--directory-size (path)
- (let ((size (gethash path disk-usage--cache)))
+ (let ((size (unless current-prefix-arg
+ (gethash path disk-usage--cache))))
(unless size
(message "Computing disk usage for %S..." path)
(setq size (funcall disk-usage--directory-size-function path))
- [elpa] externals/disk-usage 0123f06 06/48: Display symlink targets, (continued)
- [elpa] externals/disk-usage 0123f06 06/48: Display symlink targets, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 8792145 16/48: Bind "f" to disk-usage-toggle-full-path, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 3fb4803 07/48: Display total size, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage b2497fd 19/48: Set buffer name in a defvar, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage ca3aa43 05/48: Display symlinks, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage f35eb8b 26/48: Refactor disk-usage-toggle-recursive, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 9b55d63 09/48: Add disk-usage-toggle-full-path, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage f3bcae9 22/48: readme: Link to Guix, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage f330f01 31/48: Fix structure manipulation in disk-usage-by-types, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 00aa40a 10/48: Bind "S-<return>" to disk-usage-find-file-at-point, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 4fc5cb3 33/48: Refresh cache with prefix argument,
Stefan Monnier <=
- [elpa] externals/disk-usage 1949c82 37/48: Add disk-usage-by-types-here, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage f3895a3 27/48: Normalize some function names, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 0d4ce4b 12/48: Bind "^" and "<backspace>" to disk-usage-up, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage aa3996e 24/48: Default to disk-usage--list, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 90607dc 23/48: Use file-info structure instead of vectors, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage ed9dc23 11/48: Keep cursor on current entry when re-ordering buffer, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage dcfbd19 29/48: Rename sort functions, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 0c135ed 21/48: Handle inaccessible directories, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 19103ba 42/48: Add unmark-at-point, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 3357ba9 32/48: Include screenshots, Stefan Monnier, 2019/02/19