summaryrefslogtreecommitdiff
path: root/test/lisp/files-resources
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-12-01 23:27:09 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2021-12-01 23:27:19 +0100
commit1914d946d62de4ab7bab1434bcea09087d61bb5a (patch)
tree2c535caf9dc3d7094f4548b5b482e01bcb8fb33b /test/lisp/files-resources
parented7591c9055d4c90d2f59ffbd90aff45da2dc102 (diff)
downloademacs-1914d946d62de4ab7bab1434bcea09087d61bb5a.tar.gz
emacs-1914d946d62de4ab7bab1434bcea09087d61bb5a.tar.bz2
emacs-1914d946d62de4ab7bab1434bcea09087d61bb5a.zip
Change how Dired displays available space
* doc/emacs/dired.texi (Misc Dired Features): Document it (bug#23812). * lisp/dired.el (dired-free-space): New user option. (dired-insert-directory): Use it from here. (dired--insert-disk-space): New function that uses the user option. * lisp/files.el (insert-directory): Don't transform "total" here. * lisp/ls-lisp.el (ls-lisp--insert-directory): Or here. Instead just leave the "total <num>" bit alone, and let Dired transform it. * test/lisp/files-tests.el (files-tests): Move "available" tests to dired-tests. * test/lisp/dired-tests.el (data-dir): Moved here.
Diffstat (limited to 'test/lisp/files-resources')
-rw-r--r--test/lisp/files-resources/insert-directory/test_dir/bar0
-rw-r--r--test/lisp/files-resources/insert-directory/test_dir/foo0
-rw-r--r--test/lisp/files-resources/insert-directory/test_dir_other/bar0
-rw-r--r--test/lisp/files-resources/insert-directory/test_dir_other/foo0
4 files changed, 0 insertions, 0 deletions
diff --git a/test/lisp/files-resources/insert-directory/test_dir/bar b/test/lisp/files-resources/insert-directory/test_dir/bar
deleted file mode 100644
index e69de29bb2d..00000000000
--- a/test/lisp/files-resources/insert-directory/test_dir/bar
+++ /dev/null
diff --git a/test/lisp/files-resources/insert-directory/test_dir/foo b/test/lisp/files-resources/insert-directory/test_dir/foo
deleted file mode 100644
index e69de29bb2d..00000000000
--- a/test/lisp/files-resources/insert-directory/test_dir/foo
+++ /dev/null
diff --git a/test/lisp/files-resources/insert-directory/test_dir_other/bar b/test/lisp/files-resources/insert-directory/test_dir_other/bar
deleted file mode 100644
index e69de29bb2d..00000000000
--- a/test/lisp/files-resources/insert-directory/test_dir_other/bar
+++ /dev/null
diff --git a/test/lisp/files-resources/insert-directory/test_dir_other/foo b/test/lisp/files-resources/insert-directory/test_dir_other/foo
deleted file mode 100644
index e69de29bb2d..00000000000
--- a/test/lisp/files-resources/insert-directory/test_dir_other/foo
+++ /dev/null