Variable: grep-expand-keywords

grep-expand-keywords is a variable defined in grep.el.gz.

Value

(("<C>" mapconcat #'identity opts " ")
 ("<D>" or dir ".")
 ("<F>" . files)
 ("<N>" null-device)
 ("<X>" . excl)
 ("<R>" shell-quote-argument
  (or regexp "")
  grep-quoting-style))

Documentation

List of substitutions performed by grep-expand-template.

If car of an element matches, the cdr is evalled in order to get the substitution string.

The substitution is based on variables bound dynamically, and these include opts, dir, files, null-device(var)/null-device(fun), excl and regexp.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/grep.el.gz
;; User-friendly interactive API.

(defconst grep-expand-keywords
  '(("<C>" . (mapconcat #'identity opts " "))
    ("<D>" . (or dir "."))
    ("<F>" . files)
    ("<N>" . (null-device))
    ("<X>" . excl)
    ("<R>" . (shell-quote-argument (or regexp "") grep-quoting-style)))
  "List of substitutions performed by `grep-expand-template'.
If car of an element matches, the cdr is evalled in order to get the
substitution string.

The substitution is based on variables bound dynamically, and
these include `opts', `dir', `files', `null-device', `excl' and
`regexp'.")