mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
(find-function-regexp): Use `define-minor-mode' after easy-menu
change.
This commit is contained in:
parent
b1775dc141
commit
d8f479c6d2
@ -1,3 +1,8 @@
|
||||
1999-11-23 Dave Love <fx@gnu.org>
|
||||
|
||||
* find-func.el (find-function-regexp): Use `define-minor-mode'
|
||||
after easy-menu change.
|
||||
|
||||
1999-11-23 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* comint.el: Add redirection.from active comint buffers into
|
||||
|
@ -57,9 +57,9 @@
|
||||
(defcustom find-function-regexp
|
||||
;; Match things like (defun foo ...), (defmacro foo ...),
|
||||
;; (define-skeleton foo ...), (define-generic-mode 'foo ...),
|
||||
;; (define-derived-mode foo ...), (easy-mmode-define-minor-mode foo)
|
||||
;; (define-derived-mode foo ...), (define-minor-mode foo)
|
||||
"^\\s-*(\\(def\\(ine-skeleton\\|ine-generic-mode\\|ine-derived-mode\\|\
|
||||
\[^cgv\W]\\w+\\*?\\)\\|easy-mmode-define-minor-mode\\)\\s-+'?\
|
||||
\[^cgv\W]\\w+\\*?\\)\\|define-minor-mode)\\s-+'?\
|
||||
%s\\(\\s-\\|$\\|\(\\|\)\\)"
|
||||
"The regexp used by `find-function' to search for a function definition.
|
||||
Note it must contain a `%s' at the place where `format'
|
||||
@ -69,7 +69,7 @@ should insert the function name. The default value avoids `defconst',
|
||||
Please send improvements and fixes to the maintainer."
|
||||
:type 'regexp
|
||||
:group 'find-function
|
||||
:version "20.3")
|
||||
:version "21.1")
|
||||
|
||||
(defcustom find-variable-regexp
|
||||
"^\\s-*(def[^uma\W]\\w+\\*?\\s-+%s\\(\\s-\\|$\\)"
|
||||
|
Loading…
Reference in New Issue
Block a user