summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorMarkus Rost <rost@math.uni-bielefeld.de>2002-05-08 16:42:09 +0000
committerMarkus Rost <rost@math.uni-bielefeld.de>2002-05-08 16:42:09 +0000
commita4f430482b3043b849fb99f3b1294847359ba4e1 (patch)
tree99b49f2236029f313aa3802cd08ae0c1dca3845b /lisp/emacs-lisp
parent26f42fe4c4e7b16447e084af8434ea80cbec4b0c (diff)
downloademacs-a4f430482b3043b849fb99f3b1294847359ba4e1.tar.gz
emacs-a4f430482b3043b849fb99f3b1294847359ba4e1.tar.bz2
emacs-a4f430482b3043b849fb99f3b1294847359ba4e1.zip
(find-function-search-for-symbol): Add autoload cookie.
(find-function-regexp): Include "\(quote " to match the defaliases in loaddefs.el.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/find-func.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/find-func.el b/lisp/emacs-lisp/find-func.el
index 78dece5b47d..660ad019a98 100644
--- a/lisp/emacs-lisp/find-func.el
+++ b/lisp/emacs-lisp/find-func.el
@@ -60,7 +60,7 @@
;; (define-derived-mode foo ...), (define-minor-mode foo)
"^\\s-*(\\(def\\(ine-skeleton\\|ine-generic-mode\\|ine-derived-mode\\|\
\[^cgv\W]\\w+\\*?\\)\\|define-minor-mode\
-\\|easy-mmode-define-global-mode\\)\\(\\s-\\|\n\\)+'?\
+\\|easy-mmode-define-global-mode\\)\\(\\s-\\|\n\\)+\\('\\|\(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'
@@ -108,6 +108,7 @@ See the functions `find-function' and `find-variable'."
;;; Functions:
+;;;###autoload
(defun find-function-search-for-symbol (symbol variable-p library)
"Search for SYMBOL.
If VARIABLE-P is nil, `find-function-regexp' is used, otherwise