[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/disk-usage f330f01 31/48: Fix structure manipulation in
From: |
Stefan Monnier |
Subject: |
[elpa] externals/disk-usage f330f01 31/48: Fix structure manipulation in disk-usage-by-types |
Date: |
Tue, 19 Feb 2019 08:00:02 -0500 (EST) |
branch: externals/disk-usage
commit f330f01882e02e4678e536f1ef195e2fcd1cafd8
Author: Pierre Neidhardt <address@hidden>
Commit: Pierre Neidhardt <address@hidden>
Fix structure manipulation in disk-usage-by-types
---
disk-usage.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/disk-usage.el b/disk-usage.el
index 3ba8e9c..b5a7518 100644
--- a/disk-usage.el
+++ b/disk-usage.el
@@ -423,9 +423,9 @@ TYPE is the file extension (lower case)."
(setq directory (or directory default-directory))
(let ((listing (disk-usage--list-recursively directory))
(table (make-hash-table :test #'equal)))
- (dolist (file-entry listing)
- (let* ((ext (downcase (or (file-name-extension (aref file-entry 1)) "")))
- (size (aref file-entry 0))
+ (dolist (file-info listing)
+ (let* ((ext (downcase (or (file-name-extension
(disk-usage--file-info-name file-info)) "")))
+ (size (disk-usage--file-info-size file-info))
(type (gethash ext table)))
(puthash ext
(if (not type)
- [elpa] externals/disk-usage 28ceb1a 02/48: Alight size to the right, (continued)
- [elpa] externals/disk-usage 28ceb1a 02/48: Alight size to the right, Stefan Monnier, 2019/02/19
- [elpa] externals/disk-usage 4ce2b9b 03/48: Update buffer when toggling human readable size, Stefan Monnier, 2019/02/19
- [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 <=
- [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, 2019/02/19
- [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