]> git.eshelyaron.com Git - emacs.git/commitdiff
(find-function-search-for-symbol): Add autoload cookie.
authorMarkus Rost <rost@math.uni-bielefeld.de>
Wed, 8 May 2002 16:42:09 +0000 (16:42 +0000)
committerMarkus Rost <rost@math.uni-bielefeld.de>
Wed, 8 May 2002 16:42:09 +0000 (16:42 +0000)
(find-function-regexp):  Include "\(quote " to match the defaliases in
loaddefs.el.

lisp/emacs-lisp/find-func.el

index 78dece5b47da4e8c38a81b6a70b8e031471ca13d..660ad019a98eaac7acf73fe933b60234ee0bdcbf 100644 (file)
@@ -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