Variable: dired-shrink-to-fit

dired-shrink-to-fit is a variable defined in dired.el.gz.

This variable is obsolete since 24.3; use the Customization interface to add a new rule to display-buffer-alist where condition regexp is "^ \\*Marked Files\\*$", action argument symbol is window-height and its value is nil.

Value

t

Documentation

Non-nil means Dired shrinks the display buffer to fit the marked files.

Probably introduced at or before Emacs version 24.3.

Source Code

;; Defined in /usr/src/emacs/lisp/dired.el.gz
(defvar dired-shrink-to-fit t
  ;; I see no reason ever to make this nil -- rms.
  ;;  (> baud-rate search-slow-speed)
  "Non-nil means Dired shrinks the display buffer to fit the marked files.")