(find-function-search-for-symbol): Fix regexp so the defined var/fun doesn't

need to be quoted.
This commit is contained in:
Stefan Monnier 2006-04-10 18:45:34 +00:00
parent c9fdebdf3a
commit 2b690e5b35
2 changed files with 19 additions and 18 deletions

View file

@ -229,7 +229,7 @@ The search is done in the source for library LIBRARY."
(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))