+2004-11-16 Juri Linkov <juri@jurta.org>
+
+ * emacs-lisp/find-func.el (find-function-regexp):
+ Optimize `define-minor-mode'. Add `defun-cvs-mode'.
+ Add `deffoo'. Add `f' to [^cgv] to exclude `defface'.
+ Remove invalid `\W' from [^cgv\W]. Doc fix.
+ (find-function-search-for-symbol): Replace "\\>" with "\\_>".
+
2004-11-15 Luc Teirlinck <teirllm@auburn.edu>
* play/life.el: Maintainer is now FSF.
;; (define-derived-mode foo ...), (define-minor-mode foo)
(concat
"^\\s-*(\\(def\\(ine-skeleton\\|ine-generic-mode\\|ine-derived-mode\\|\
-\[^cgv\W]\\w+\\*?\\)\\|define-minor-mode\
+ine-minor-mode\\|un-cvs-mode\\|foo\\|[^cfgv]\\w+\\*?\\)\
\\|easy-mmode-define-global-mode\\)" find-function-space-re
"\\('\\|\(quote \\)?%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'
should insert the function name. The default value avoids `defconst',
-`defgroup', `defvar'.
+`defgroup', `defvar', `defface'.
Please send improvements and fixes to the maintainer."
:type 'regexp
(re-search-forward
(concat "^([^ ]+" find-function-space-re "['(]"
(regexp-quote (symbol-name symbol))
- "\\>")
+ "\\_>")
nil t))
(progn
(beginning-of-line)