Variable: dired-free-space

dired-free-space is a customizable variable defined in dired.el.gz.

Value

first

Documentation

Whether and how to display the disk space usage info in Dired buffers.

If nil, don't display. If separate, display on a separate line, and include both the used and the free disk space. If first, the default, display only the free disk space on the first line, following the directory name.

This variable was added, or its default value changed, in Emacs 29.1.

View in manual

Probably introduced at or before Emacs version 29.1.

Source Code

;; Defined in /usr/src/emacs/lisp/dired.el.gz
(defcustom dired-free-space 'first
  "Whether and how to display the disk space usage info in Dired buffers.
If nil, don't display.
If `separate', display on a separate line, and include both the used
and the free disk space.
If `first', the default, display only the free disk space on the first
line, following the directory name."
  :type '(choice (const
                  :tag
                  "On separate line, display both used and free space" separate)
                 (const
                  :tag
                  "On first line, after directory name, display only free space" first)
                 (const :tag "Don't display disk space usage" nil))
  :version "29.1"
  :group 'dired)