Variable: grep-find-template
grep-find-template is a customizable variable defined in grep.el.gz.
Value
nil
Documentation
The default command to run for M-x rgrep (rgrep).
The following place holders should be present in the string:
<D> - base directory for find
<X> - find options to restrict or expand the directory list
<F> - find options to limit the files matched
<C> - place to put the grep options like -i and --color
<R> - the regular expression searched for.
In interactive usage, the actual value of this variable is set up
by grep-compute-defaults; to change the default value, use
M-x customize (customize) or call the function grep-apply-setting.
This variable was added, or its default value changed, in Emacs 22.1.
Probably introduced at or before Emacs version 22.1.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/grep.el.gz
(defcustom grep-find-template nil
"The default command to run for \\[rgrep].
The following place holders should be present in the string:
<D> - base directory for find
<X> - find options to restrict or expand the directory list
<F> - find options to limit the files matched
<C> - place to put the grep options like -i and --color
<R> - the regular expression searched for.
In interactive usage, the actual value of this variable is set up
by `grep-compute-defaults'; to change the default value, use
\\[customize] or call the function `grep-apply-setting'."
:type '(choice string
(const :tag "Not Set" nil))
:set #'grep-apply-setting
:version "22.1")