]> git.eshelyaron.com Git - emacs.git/commitdiff
(find-function-regexp): Allow a ) or ( to end a function name.
authorRichard M. Stallman <rms@gnu.org>
Sun, 29 Aug 1999 18:15:29 +0000 (18:15 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 29 Aug 1999 18:15:29 +0000 (18:15 +0000)
lisp/emacs-lisp/find-func.el

index 3ae98c08a399f4e1a957152826456cec1d903426..e7607494d04058affcf93976d54365a9359f0008 100644 (file)
@@ -60,7 +60,7 @@
   ;;  (define-derived-mode foo ...), (easy-mmode-define-minor-mode foo)
   "^\\s-*(\\(def\\(ine-skeleton\\|ine-generic-mode\\|ine-derived-mode\\|\
 \[^cgv\W]\\w+\\*?\\)\\|easy-mmode-define-minor-mode\\)\\s-+'?\
-%s\\(\\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'
 should insert the function name.  The default value avoids `defconst',