Variable: find-name-arg

find-name-arg is a customizable variable defined in find-dired.el.gz.

Value

"-name"

Documentation

Argument used to specify file name pattern.

If read-file-name-completion-ignore-case is non-nil, -iname is used so that find also ignores case. Otherwise, -name is used.

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

Probably introduced at or before Emacs version 22.2.

Source Code

;; Defined in /usr/src/emacs/lisp/find-dired.el.gz
;; This used to be autoloaded (see bug#4387).
(defcustom find-name-arg
  (if read-file-name-completion-ignore-case
      "-iname"
    "-name")
  "Argument used to specify file name pattern.
If `read-file-name-completion-ignore-case' is non-nil, -iname is used so that
find also ignores case.  Otherwise, -name is used."
  :type 'string
  :group 'find-dired
  :version "22.2")