Variable: grep--heading-format

grep--heading-format is a variable defined in grep.el.gz.

Value

#("%s\n" 0 2
  (compilation-annotation t outline-level 1 font-lock-face
			  grep-heading)
  2 3 (compilation-annotation t))

Documentation

Format string of grep headings.

This is passed to format with one argument, the text of the first capture group of grep-heading-regexp.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/grep.el.gz
(defvar grep--heading-format
  (eval-when-compile
    (let ((title (propertize "%s"
                             'font-lock-face 'grep-heading
                             'outline-level 1)))
      (propertize (concat title "\n") 'compilation-annotation t)))
  "Format string of grep headings.
This is passed to `format' with one argument, the text of the
first capture group of `grep-heading-regexp'.")