Variable: dired-filename-display-length
dired-filename-display-length is a customizable variable defined in
dired.el.gz.
Value
nil
Documentation
If non-nil, restrict the display length of filenames.
If the value is the symbol window, the right edge of current
window is used as the restriction. Otherwise, it should be an
integer representing the maximum filename length.
The middle part of filename whose length exceeds the restriction
is hidden by using the invisible property and an ellipsis is
displayed instead.
This variable was added, or its default value changed, in Emacs 30.1.
Probably introduced at or before Emacs version 30.1.
Source Code
;; Defined in /usr/src/emacs/lisp/dired.el.gz
(defcustom dired-filename-display-length nil
"If non-nil, restrict the display length of filenames.
If the value is the symbol `window', the right edge of current
window is used as the restriction. Otherwise, it should be an
integer representing the maximum filename length.
The middle part of filename whose length exceeds the restriction
is hidden by using the `invisible' property and an ellipsis is
displayed instead."
:type '(choice (const :tag "No restriction" nil)
(const :tag "Window" window)
(integer :tag "Integer"))
:group 'dired
:version "30.1")