# HG changeset patch # User Gerd Moellmann # Date 996073461 0 # Node ID cda1a73acb687b20079289245697c9291f4ea83e # Parent e3c068126752705497980b0b23f9de13883855b5 (find-function-regexp): Add easy-mmode-define-global-mode to the regexp. Allow newlines in front of the function name. diff -r e3c068126752 -r cda1a73acb68 lisp/emacs-lisp/find-func.el --- a/lisp/emacs-lisp/find-func.el Wed Jul 25 14:51:10 2001 +0000 +++ b/lisp/emacs-lisp/find-func.el Wed Jul 25 15:04:21 2001 +0000 @@ -1,6 +1,6 @@ ;;; find-func.el --- find the definition of the Emacs Lisp function near point -;; Copyright (C) 1997, 1999 Free Software Foundation, Inc. +;; Copyright (C) 1997, 1999, 2001 Free Software Foundation, Inc. ;; Author: Jens Petersen ;; Maintainer: petersen@kurims.kyoto-u.ac.jp @@ -59,7 +59,8 @@ ;; (define-skeleton foo ...), (define-generic-mode 'foo ...), ;; (define-derived-mode foo ...), (define-minor-mode foo) "^\\s-*(\\(def\\(ine-skeleton\\|ine-generic-mode\\|ine-derived-mode\\|\ -\[^cgv\W]\\w+\\*?\\)\\|define-minor-mode\\)\\s-+'?\ +\[^cgv\W]\\w+\\*?\\)\\|define-minor-mode\ +\\|easy-mmode-define-global-mode\\)\\(\\s-\\|\n\\)+'?\ %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'