Mercurial > emacs
changeset 38557:cda1a73acb68
(find-function-regexp): Add
easy-mmode-define-global-mode to the regexp. Allow newlines
in front of the function name.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 25 Jul 2001 15:04:21 +0000 |
parents | e3c068126752 |
children | 2c280524cbb7 |
files | lisp/emacs-lisp/find-func.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 <petersen@kurims.kyoto-u.ac.jp> ;; 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'