Function: dired-sort-other

dired-sort-other is a byte-compiled function defined in dired.el.gz.

Signature

(dired-sort-other SWITCHES &optional NO-REVERT)

Documentation

Specify new ls SWITCHES for current Dired buffer.

Values matching dired-sort-by-date-regexp or dired-sort-by-name-regexp set the minor mode accordingly, others appear literally in the mode line. With optional second arg NO-REVERT, don't refresh the listing afterwards.

Source Code

;; Defined in /usr/src/emacs/lisp/dired.el.gz
(defun dired-sort-other (switches &optional no-revert)
  "Specify new `ls' SWITCHES for current Dired buffer.
Values matching `dired-sort-by-date-regexp' or `dired-sort-by-name-regexp'
set the minor mode accordingly, others appear literally in the mode line.
With optional second arg NO-REVERT, don't refresh the listing afterwards."
  (dired-sort-R-check switches)
  (setq dired-actual-switches switches)
  (dired-sort-set-mode-line)
  (or no-revert (revert-buffer)))