Commit d8f479c6 authored by Dave Love's avatar Dave Love
Browse files

(find-function-regexp): Use `define-minor-mode' after easy-menu

change.
parent b1775dc1
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> 1999-11-23 Gerd Moellmann <gerd@gnu.org>
* comint.el: Add redirection.from active comint buffers into * comint.el: Add redirection.from active comint buffers into
......
...@@ -57,9 +57,9 @@ ...@@ -57,9 +57,9 @@
(defcustom find-function-regexp (defcustom find-function-regexp
;; Match things like (defun foo ...), (defmacro foo ...), ;; Match things like (defun foo ...), (defmacro foo ...),
;; (define-skeleton foo ...), (define-generic-mode '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\\|\ "^\\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-\\|$\\|\(\\|\)\\)" %s\\(\\s-\\|$\\|\(\\|\)\\)"
"The regexp used by `find-function' to search for a function definition. "The regexp used by `find-function' to search for a function definition.
Note it must contain a `%s' at the place where `format' 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', ...@@ -69,7 +69,7 @@ should insert the function name. The default value avoids `defconst',
Please send improvements and fixes to the maintainer." Please send improvements and fixes to the maintainer."
:type 'regexp :type 'regexp
:group 'find-function :group 'find-function
:version "20.3") :version "21.1")
(defcustom find-variable-regexp (defcustom find-variable-regexp
"^\\s-*(def[^uma\W]\\w+\\*?\\s-+%s\\(\\s-\\|$\\)" "^\\s-*(def[^uma\W]\\w+\\*?\\s-+%s\\(\\s-\\|$\\)"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment