emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/disk-usage c55d478 34/48: Document modes and prefix arg


From: Stefan Monnier
Subject: [elpa] externals/disk-usage c55d478 34/48: Document modes and prefix argument
Date: Tue, 19 Feb 2019 08:00:03 -0500 (EST)

branch: externals/disk-usage
commit c55d47859c43cd06f90f0c25e3608d128ad6d745
Author: Pierre Neidhardt <address@hidden>
Commit: Pierre Neidhardt <address@hidden>

    Document modes and prefix argument
---
 disk-usage.el | 13 +++++++++++--
 readme.org    |  4 +++-
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/disk-usage.el b/disk-usage.el
index 76bb479..ac26702 100644
--- a/disk-usage.el
+++ b/disk-usage.el
@@ -31,9 +31,14 @@
 ;; `disk-usage-dired-at-point' to open a `dired' buffer for the current
 ;; directory.
 ;;
+;; Instead of displaying only the current folder, ~disk-usage~ can also display
+;; files in all subfolders recursively with `disk-usage-toggle-recursive'.
+;;
 ;; Run `disk-usage-by-types' to display statistics of disk usage by file
 ;; extensions.
 ;;
+;; With a prefix argument, cache is updated when reverting the buffer.
+;;
 ;; You can customize options in the 'disk-usage group.
 
 
@@ -320,7 +325,10 @@ beings."
                          help-echo ,(aref cols 1)))))
 
 (define-derived-mode disk-usage-mode tabulated-list-mode "Disk Usage"
-  "Mode to display disk usage."
+  "Mode to display disk usage.
+With a prefix argument, cache is updated when reverting the buffer.
+
+Also see `disk-usage-by-types-mode'."
   ;; TODO: Option to display extra attributes and default column to sort.
   (setq tabulated-list-padding 2)
   (setq tabulated-list-sort-key (cons "Size" 'flip))
@@ -479,7 +487,8 @@ TYPE is the file extension (lower case)."
                                                     
(disk-usage--type-average-size e))))))))))
 
 (define-derived-mode disk-usage-by-types-mode tabulated-list-mode "Disk Usage 
By Types"
-  "Mode to display disk usage by file types."
+  "Mode to display disk usage by file types.
+Also see `disk-usage-mode'."
   (add-hook 'tabulated-list-revert-hook 'disk-usage-by-types--refresh nil t))
 
 (defvar disk-usage-by-types-mode-map
diff --git a/readme.org b/readme.org
index 4650f32..cc2be25 100644
--- a/readme.org
+++ b/readme.org
@@ -29,11 +29,13 @@ to display additional bindings, such as 
~disk-usage-dired-at-point~ to open a
 ~dired~ buffer for the current directory.
 
 Instead of displaying only the current folder, ~disk-usage~ can also display
-files in all subfolders recursively.
+files in all subfolders recursively with ~disk-usage-toggle-recursive~.
 
 Run ~disk-usage-by-types~ to display statistics of disk usage by file
 extensions.
 
+With a prefix argument, cache is updated when reverting the buffer.
+
 You can customize options in the 'disk-usage group.
 
 * Screenshots



reply via email to

[Prev in Thread] Current Thread [Next in Thread]