Mercurial > emacs
diff lisp/emacs-lisp/find-func.el @ 69916:62a4fbb2cb81
(find-function-search-for-symbol): Fix regexp so the defined var/fun doesn't
need to be quoted.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 10 Apr 2006 18:45:34 +0000 |
parents | 10a4ff23378e |
children | 055c0dc190ac |
line wrap: on
line diff
--- a/lisp/emacs-lisp/find-func.el Mon Apr 10 15:28:25 2006 +0000 +++ b/lisp/emacs-lisp/find-func.el Mon Apr 10 18:45:34 2006 +0000 @@ -229,7 +229,7 @@ (goto-char (point-min)) (if (or (re-search-forward regexp nil t) (re-search-forward - (concat "^([^ ]+" find-function-space-re "['(]" + (concat "^([^ ]+" find-function-space-re "['(]?" (regexp-quote (symbol-name symbol)) "\\_>") nil t))