Variable: find-face-regexp

find-face-regexp is a customizable variable defined in find-func.el.gz.

Value

"^\\s-*(defface\\(?:\\s-\\|\n\\|;.*\n\\)+%s\\(\\s-\\|$\\)"

Documentation

The regexp used by find-face to search for a face definition.

Note it must contain a %s at the place where format should insert the face name.

Please send improvements and fixes to the maintainer.

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

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/find-func.el.gz
(defcustom find-face-regexp
  (concat"^\\s-*(defface" find-function-space-re "%s\\(\\s-\\|$\\)")
  "The regexp used by `find-face' to search for a face definition.
Note it must contain a `%s' at the place where `format'
should insert the face name.

Please send improvements and fixes to the maintainer."
  :type 'regexp
  :group 'find-function
  :version "22.1")