Variable: dired-switches-in-mode-line

dired-switches-in-mode-line is a customizable variable defined in dired.el.gz.

Value

nil

Documentation

How to indicate dired-actual-switches in mode-line.

Possible values:
 * nil: Indicate name-or-date sort order, if possible.
             Else show full switches.
 * as-is: Show full switches.
 * Integer: Show only the first N chars of full switches.
 * Function: Pass dired-actual-switches as arg and show result.

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

Probably introduced at or before Emacs version 28.1.

Source Code

;; Defined in /usr/src/emacs/lisp/dired.el.gz
(defcustom dired-switches-in-mode-line nil
  "How to indicate `dired-actual-switches' in mode-line.
Possible values:
 * nil:      Indicate name-or-date sort order, if possible.
             Else show full switches.
 * `as-is':  Show full switches.
 * Integer:  Show only the first N chars of full switches.
 * Function: Pass `dired-actual-switches' as arg and show result."
  :group 'dired
  :version "28.1"
  :type '(choice
          (const    :tag "Indicate by name or date, else full"   nil)
          (const    :tag "Show full switches"                    as-is)
          (integer  :tag "Show first N chars of switches" :value 10)
          (function :tag "Format with function"           :value identity)))