Variable: find-dired-refine-function

find-dired-refine-function is a customizable variable defined in find-dired.el.gz.

Value

find-dired-sort-by-filename

Documentation

If non-nil, a function for refining the *Find* buffer of find-dired.

This function takes no arguments. The *Find* buffer is narrowed to the output of find (one file per line) when this function is called.

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

Probably introduced at or before Emacs version 27.1.

Source Code

;; Defined in /usr/src/emacs/lisp/find-dired.el.gz
(defcustom find-dired-refine-function #'find-dired-sort-by-filename
  "If non-nil, a function for refining the *Find* buffer of `find-dired'.
This function takes no arguments.  The *Find* buffer is narrowed to the
output of `find' (one file per line) when this function is called."
  :version "27.1"
  :group 'find-dired
  :type '(choice (const :tag "Sort file names lexicographically"
                        find-dired-sort-by-filename)
                 (function :tag "Refining function")
                 (const :tag "No refining" nil)))