Variable: find-function-regexp-alist

find-function-regexp-alist is a variable defined in find-func.el.gz.

Value

((define-type . cl--typedef-regexp)
 (define-mode-local-override . xref-mode-local-find-override)
 (define-overloadable-function . xref-mode-local-find-overloadable-regexp)
 (ert--test . ert--find-test-regexp)
 (cl-defgeneric . cl--generic-find-defgeneric-regexp)
 (cl-defmethod . cl--generic-search-method)
 (nil . find-function-regexp)
 (defvar . find-variable-regexp)
 (defface . find-function--defface)
 (feature . find-feature-regexp)
 (defalias . find-alias-regexp))

Documentation

Alist mapping definition types into regexp variables.

Each regexp variable's value should actually be a format string to be used to substitute the desired symbol name into the regexp. Instead of regexp variable, types can be mapped to functions as well, in which case the function is called with one argument (the object we're looking for) and it should search for it.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/find-func.el.gz
(defvar find-function-regexp-alist
  '((nil . find-function-regexp)
    (defvar . find-variable-regexp)
    (defface . find-function--defface)
    (feature . find-feature-regexp)
    (defalias . find-alias-regexp))
  "Alist mapping definition types into regexp variables.
Each regexp variable's value should actually be a format string
to be used to substitute the desired symbol name into the regexp.
Instead of regexp variable, types can be mapped to functions as well,
in which case the function is called with one argument (the object
we're looking for) and it should search for it.")