63 |
;; (define-derived-mode foo ...), (define-minor-mode foo) |
;; (define-derived-mode foo ...), (define-minor-mode foo) |
64 |
(concat |
(concat |
65 |
"^\\s-*(\\(def\\(ine-skeleton\\|ine-generic-mode\\|ine-derived-mode\\|\ |
"^\\s-*(\\(def\\(ine-skeleton\\|ine-generic-mode\\|ine-derived-mode\\|\ |
66 |
ine-minor-mode\\|ine-compilation-mode\\|un-cvs-mode\\|foo\\|[^cfgv]\\w+\\*?\\)\ |
ine\\(?:-global\\)?-minor-mode\\|ine-compilation-mode\\|un-cvs-mode\\|\ |
67 |
\\|easy-mmode-define-global-mode\\|menu-bar-make-toggle\\)" |
foo\\|[^cfgv]\\w+\\*?\\)\\|easy-mmode-define-[a-z-]+\\|easy-menu-define\\|\ |
68 |
|
menu-bar-make-toggle\\)" |
69 |
find-function-space-re |
find-function-space-re |
70 |
"\\('\\|\(quote \\)?%s\\(\\s-\\|$\\|\(\\|\)\\)") |
"\\('\\|\(quote \\)?%s\\(\\s-\\|$\\|\(\\|\)\\)") |
71 |
"The regexp used by `find-function' to search for a function definition. |
"The regexp used by `find-function' to search for a function definition. |
79 |
:version "21.1") |
:version "21.1") |
80 |
|
|
81 |
(defcustom find-variable-regexp |
(defcustom find-variable-regexp |
82 |
(concat"^\\s-*(def[^fumag]\\(\\w\\|\\s_\\)+\\*?" find-function-space-re "%s\\(\\s-\\|$\\)") |
(concat |
83 |
|
"^\\s-*(\\(def[^fumag]\\(\\w\\|\\s_\\)+\\*?\\|\ |
84 |
|
easy-mmode-def\\(map\\|syntax\\)\\|easy-menu-define\\)" |
85 |
|
find-function-space-re |
86 |
|
"%s\\(\\s-\\|$\\)") |
87 |
"The regexp used by `find-variable' to search for a variable definition. |
"The regexp used by `find-variable' to search for a variable definition. |
88 |
Note it must contain a `%s' at the place where `format' |
Note it must contain a `%s' at the place where `format' |
89 |
should insert the variable name. The default value |
should insert the variable name. The default value |