Variable: dired-isearch-filenames
dired-isearch-filenames is a customizable variable defined in
dired-aux.el.gz.
Value
nil
Documentation
Non-nil to Isearch in file names only.
If t, Isearch in Dired always matches only file names.
If dwim, Isearch matches file names when initial point position is on
a file name. Otherwise, it searches the whole buffer without restrictions.
This variable was added, or its default value changed, in Emacs 23.1.
Probably introduced at or before Emacs version 23.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/dired-aux.el.gz
;;; Search only in file names in the Dired buffer
(defcustom dired-isearch-filenames nil
"Non-nil to Isearch in file names only.
If t, Isearch in Dired always matches only file names.
If `dwim', Isearch matches file names when initial point position is on
a file name. Otherwise, it searches the whole buffer without restrictions."
:type '(choice (const :tag "No restrictions" nil)
(const :tag "When point is on a file name initially, search file names" dwim)
(const :tag "Always search in file names" t))
:group 'dired
:version "23.1")