Function: dired-sort-toggle-or-edit
dired-sort-toggle-or-edit is an interactive and byte-compiled function
defined in dired.el.gz.
Signature
(dired-sort-toggle-or-edit &optional ARG)
Documentation
Toggle sorting by date, and refresh the Dired buffer.
With a prefix argument, edit the current listing switches instead.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/dired.el.gz
(defun dired-sort-toggle-or-edit (&optional arg)
"Toggle sorting by date, and refresh the Dired buffer.
With a prefix argument, edit the current listing switches instead."
(interactive "P" dired-mode)
(when dired-sort-inhibit
(error "Cannot sort this Dired buffer"))
(if arg
(dired-sort-other
(read-string "ls switches (must contain -l): " dired-actual-switches))
(dired-sort-toggle)))