Variable: dired-isearch-filenames
dired-isearch-filenames is a customizable variable defined in
dired-aux.el.gz.
Value
nil
Documentation
If non-nil, Isearch in Dired buffers matches only file names.
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, Isearch 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
"If non-nil, Isearch in Dired buffers matches only file names.
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, Isearch searches the whole buffer without
restrictions."
:type '(choice (const :tag "Search entire Dired buffer" nil)
(const :tag "Search only file names in Dired buffers" t)
(const :tag
"Search only file names if point starts on a file name"
dwim))
:group 'dired
:version "23.1")