diff options
| author | Paul Eggert | 2017-10-01 22:31:39 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-10-01 22:33:20 -0700 |
| commit | 135bca574c31b7bf6df6c63d28f180956928dde7 (patch) | |
| tree | 1259c514b5304e7b1dbb8a9098f0a6dd63e00003 /doc | |
| parent | 4829a3b033b119b088947d14b73efc197b2547fa (diff) | |
| download | emacs-135bca574c31b7bf6df6c63d28f180956928dde7.tar.gz emacs-135bca574c31b7bf6df6c63d28f180956928dde7.zip | |
Port file-system-info to non-Microsoft
* admin/merge-gnulib (GNULIB_MODULES): Add fsusage.
* doc/emacs/files.texi (Directories): Remove documentation of
now-obsolete directory-free-space-program and
directory-free-space-args.
* etc/NEWS: Mention change.
* etc/PROBLEMS: Slow df is no longer a problem.
* lib/fsusage.c, lib/fsusage.h, m4/fsusage.m4:
New files, copied from Gnulib.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* lisp/dired.el (dired-free-space-program)
(dired-free-space-args): These aliases are now obsolete.
* lisp/files.el (directory-free-space-program)
(directory-free-space-args): Now obsolete.
(get-free-disk-space): Just call file-system-info instead
of the now-obsolete directory-free-space-program.
* nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_fsusage): New macro.
* src/fileio.c: Include fsusage.h.
(blocks_to_bytes, Ffile_system_info) [!DOS_NT]: New functions.
(syms_of_fileio) [!DOS_NT]: Defsubr file-system-info.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/files.texi | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index 18f1c28571b..2c4a0ca30ce 100644 --- a/doc/emacs/files.texi +++ b/doc/emacs/files.texi | |||
| @@ -1279,13 +1279,8 @@ default), and @code{list-directory-verbose-switches} is a string | |||
| 1279 | giving the switches to use in a verbose listing (@code{"-l"} by | 1279 | giving the switches to use in a verbose listing (@code{"-l"} by |
| 1280 | default). | 1280 | default). |
| 1281 | 1281 | ||
| 1282 | @vindex directory-free-space-program | ||
| 1283 | @vindex directory-free-space-args | ||
| 1284 | In verbose directory listings, Emacs adds information about the | 1282 | In verbose directory listings, Emacs adds information about the |
| 1285 | amount of free space on the disk that contains the directory. To do | 1283 | amount of free space on the disk that contains the directory. |
| 1286 | this, it runs the program specified by | ||
| 1287 | @code{directory-free-space-program} with arguments | ||
| 1288 | @code{directory-free-space-args}. | ||
| 1289 | 1284 | ||
| 1290 | The command @kbd{M-x delete-directory} prompts for a directory's name | 1285 | The command @kbd{M-x delete-directory} prompts for a directory's name |
| 1291 | using the minibuffer, and deletes the directory if it is empty. If | 1286 | using the minibuffer, and deletes the directory if it is empty. If |