Variable: find-variable-regexp
find-variable-regexp is a customizable variable defined in
find-func.el.gz.
Value
"^\\s-*(\\(def[^fumag]\\(\\w\\|\\s_\\)+\\*?\\|easy-mmode-def\\(map\\|syntax\\)\\|easy-menu-define\\)\\(?:\\s-\\|\n\\|;.*\n\\)+%s\\(\\s-\\|$\\)"
Documentation
The regexp used by find-variable to search for a variable definition.
Note it must contain a %s at the place where format
should insert the variable name. The default value
avoids defun, defmacro, defalias, defadvice, defgroup, defface.
Please send improvements and fixes to the maintainer.
This variable was added, or its default value changed, in Emacs 21.1.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/find-func.el.gz
(defcustom find-variable-regexp
(concat
"^\\s-*(\\(def[^fumag]\\(\\w\\|\\s_\\)+\\*?\\|\
easy-mmode-def\\(map\\|syntax\\)\\|easy-menu-define\\)"
find-function-space-re
"%s\\(\\s-\\|$\\)")
"The regexp used by `find-variable' to search for a variable definition.
Note it must contain a `%s' at the place where `format'
should insert the variable name. The default value
avoids `defun', `defmacro', `defalias', `defadvice', `defgroup', `defface'.
Please send improvements and fixes to the maintainer."
:type 'regexp
:group 'find-function
:version "21.1")